[go: nahoru, domu]

Skip to content

Commit

Permalink
aa
Browse files Browse the repository at this point in the history
  • Loading branch information
tmikolov committed Aug 1, 2013
1 parent 3628abd commit d1b0954
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions demo-analogy.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
make clean
make
if [ ! -e text8 ]; then
wget http://mattmahoney.net/dc/text8.zip -O text8.gz
Expand All @@ -8,5 +7,5 @@ echo ---------------------------------------------------------------------------
echo Note that for the word analogy to perform well, the models should be trained on much larger data sets
echo Example input: paris france berlin
echo -----------------------------------------------------------------------------------------------------
time ./word2vec -train text8 -output vectors.bin -cbow 1 -size 200 -window 5 -negative 5 -hs 0 -sample 1e-3 -threads 12 -binary 1
time ./word2vec -train text8 -output vectors.bin -cbow 0 -size 200 -window 5 -negative 0 -hs 1 -sample 1e-3 -threads 12 -binary 1
./word-analogy vectors.bin

0 comments on commit d1b0954

Please sign in to comment.