Skip to content

Commit 9f78f72

Browse files
author
tmikolov
committed
aa
1 parent d1b0954 commit 9f78f72

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

demo-classes.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
make
2+
if [ ! -e text8 ]; then
3+
wget http://mattmahoney.net/dc/text8.zip -O text8.gz
4+
gzip -d text8.gz -f
5+
fi
6+
time ./word2vec -train text8 -output classes.txt -cbow 0 -size 200 -window 5 -negative 0 -hs 1 -sample 1e-3 -threads 12 -classes 500
7+
sort classes.txt -k 2 -n > classes.sorted.txt
8+
echo The word classes were saved to file classes.sorted.txt

0 commit comments

Comments
 (0)