From c29418ea6508657139a2c185629fd092f5680571 Mon Sep 17 00:00:00 2001 From: tmikolov Date: Tue, 30 Jul 2013 05:37:54 +0000 Subject: [PATCH] aa --- demo-phrases.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 demo-phrases.sh diff --git a/demo-phrases.sh b/demo-phrases.sh new file mode 100644 index 0000000..f772e24 --- /dev/null +++ b/demo-phrases.sh @@ -0,0 +1,7 @@ +make clean +make +wget http://mattmahoney.net/dc/text8.zip -O text8.gz +gzip -d text8.gz -f +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 +./distance vectors-phrase.bin