aa
This commit is contained in:
parent
25b0cc66a9
commit
d8609b12d2
@ -1,9 +1,8 @@
|
||||
make clean
|
||||
make
|
||||
if [ ! -e text8 ]; then
|
||||
wget http://mattmahoney.net/dc/text8.zip -O text8.gz
|
||||
gzip -d text8.gz -f
|
||||
fi
|
||||
time ./word2phrase -train text8 -output text8-phrase -threshold 200 -debug 2
|
||||
time ./word2vec -train text8-phrase -output vectors-phrase.bin -cbow 1 -size 200 -window 5 -negative 5 -hs 0 -sample 1e-3 -threads 12 -binary 1
|
||||
time ./word2phrase -train text8 -output text8-phrase -threshold 500 -debug 2
|
||||
time ./word2vec -train text8-phrase -output vectors-phrase.bin -cbow 0 -size 300 -window 10 -negative 0 -hs 1 -sample 1e-3 -threads 12 -binary 1
|
||||
./distance vectors-phrase.bin
|
Loading…
Reference in New Issue
Block a user