Skip to content

Commit

Permalink
Update get_word2vec.sh
Browse files Browse the repository at this point in the history
Changing to use the Slimmed version of the model
  • Loading branch information
johnjoo1 authored Dec 12, 2018
1 parent 4ba3535 commit dbdd2f0
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/data/get_word2vec.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/bin/bash

wget -c "https://s3.amazonaws.com/dl4j-distribution/GoogleNews-vectors-negative300.bin.gz"
gunzip GoogleNews-vectors-negative300.bin.gz
mv GoogleNews-vectors-negative300.bin /mnt/data/external/GoogleNews-vectors-negative300.bin
# wget -c "https://s3.amazonaws.com/dl4j-distribution/GoogleNews-vectors-negative300.bin.gz"
wget https://github.com/eyaler/word2vec-slim/raw/master/GoogleNews-vectors-negative300-SLIM.bin.gz
echo "Decompressing..."
gunzip -f -v GoogleNews-vectors-negative300-SLIM.bin.gz
echo "Decompressed. Moving..."
mv GoogleNews-vectors-negative300-SLIM.bin /mnt/data/external/GoogleNews-vectors-negative300-SLIM.bin
echo "Move completed."

0 comments on commit dbdd2f0

Please sign in to comment.