Skip to content

Commit d1b0954

Browse files
author
tmikolov
committed
aa
1 parent 3628abd commit d1b0954

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

demo-analogy.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
make clean
21
make
32
if [ ! -e text8 ]; then
43
wget http://mattmahoney.net/dc/text8.zip -O text8.gz
@@ -8,5 +7,5 @@ echo ---------------------------------------------------------------------------
87
echo Note that for the word analogy to perform well, the models should be trained on much larger data sets
98
echo Example input: paris france berlin
109
echo -----------------------------------------------------------------------------------------------------
11-
time ./word2vec -train text8 -output vectors.bin -cbow 1 -size 200 -window 5 -negative 5 -hs 0 -sample 1e-3 -threads 12 -binary 1
10+
time ./word2vec -train text8 -output vectors.bin -cbow 0 -size 200 -window 5 -negative 0 -hs 1 -sample 1e-3 -threads 12 -binary 1
1211
./word-analogy vectors.bin

0 commit comments

Comments
 (0)