Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
word2vec
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
35
Issues
35
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DESHPANDE SRIJAY PARAG
word2vec
Commits
25b0cc66
Commit
25b0cc66
authored
Aug 01, 2013
by
tmikolov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aa
parent
9f78f722
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
demo-phrase-accuracy.sh
demo-phrase-accuracy.sh
+12
-0
No files found.
demo-phrase-accuracy.sh
0 → 100644
View file @
25b0cc66
make
if
[
!
-e
text8
]
;
then
wget http://mattmahoney.net/dc/text8.zip
-O
text8.gz
gzip
-d
text8.gz
-f
fi
echo
----------------------------------------------------------------------------------------------------------------
echo
Note that the accuracy and coverage of the
test set
questions is going to be low with this small training corpus
echo
To achieve better accuracy, larger training
set
is needed
echo
----------------------------------------------------------------------------------------------------------------
time
./word2phrase
-train
text8
-output
text8-phrase
-threshold
500
-debug
2
-min-count
3
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
-min-count
3
./compute-accuracy vectors-phrase.bin <questions-phrases.txt
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment