diff --git a/demo-phrases.sh b/demo-phrases.sh index 3f0b9a6..c833b81 100644 --- a/demo-phrases.sh +++ b/demo-phrases.sh @@ -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 \ No newline at end of file