We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e3a82a commit 5a7f38eCopy full SHA for 5a7f38e
demo-word.sh
@@ -1,6 +1,8 @@
1
make clean
2
make
3
-wget http://mattmahoney.net/dc/text8.zip -O text8.gz
4
-gzip -d text8.gz -f
+if [ ! -e text8 ]; then
+ wget http://mattmahoney.net/dc/text8.zip -O text8.gz
5
+ gzip -d text8.gz -f
6
+fi
7
time ./word2vec -train text8 -output vectors.bin -cbow 1 -size 200 -window 5 -negative 5 -hs 0 -sample 1e-3 -threads 12 -binary 1
8
./distance vectors.bin
0 commit comments