Skip to content

Commit 5a7f38e

Browse files
author
tmikolov
committed
aa
1 parent 0e3a82a commit 5a7f38e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

demo-word.sh

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
make clean
22
make
3-
wget http://mattmahoney.net/dc/text8.zip -O text8.gz
4-
gzip -d text8.gz -f
3+
if [ ! -e text8 ]; then
4+
wget http://mattmahoney.net/dc/text8.zip -O text8.gz
5+
gzip -d text8.gz -f
6+
fi
57
time ./word2vec -train text8 -output vectors.bin -cbow 1 -size 200 -window 5 -negative 5 -hs 0 -sample 1e-3 -threads 12 -binary 1
68
./distance vectors.bin

0 commit comments

Comments
 (0)