forked from tmikolov/word2vec
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
tmikolov
committed
Aug 1, 2013
1 parent
d1b0954
commit 9f78f72
Showing
1 changed file
with
8 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
make | ||
if [ ! -e text8 ]; then | ||
wget http://mattmahoney.net/dc/text8.zip -O text8.gz | ||
gzip -d text8.gz -f | ||
fi | ||
time ./word2vec -train text8 -output classes.txt -cbow 0 -size 200 -window 5 -negative 0 -hs 1 -sample 1e-3 -threads 12 -classes 500 | ||
sort classes.txt -k 2 -n > classes.sorted.txt | ||
echo The word classes were saved to file classes.sorted.txt |