Comments (3)
The same confusion as in function CreateBinaryTree() in word2vec.c, where the
array representation of tree uses vocab_size*2+1 elements, which I understand
is essentially (len(vocab)-1)*2+1? That makes sense as only n-1 nodes are
needed for a full binary tree with n leaf nodes?
Many thanks if someone can clarify this a little bit.
Original comment by [email protected]
on 25 Aug 2013 at 3:24
from word2vec.
Sorry the expected output of saved vocab.txt should be
===============
</s> 0
and 12
the 11
four 10
in 8
used 5
war 5
one 5
nine 5
===============
It is a typo in the last line
Original comment by [email protected]
on 26 Aug 2013 at 5:12
from word2vec.
also looking for the reason. there are words that are missing from the trained
model, which are expected to be in the vocabulary since i put the min_count =
1.
(am working on CentOS)
Original comment by [email protected]
on 27 Jan 2014 at 3:05
from word2vec.
Related Issues (20)
- A typo "back" of words HOT 1
- FreeBSD build patch
- Wrong Link HOT 1
- Compile on debian HOT 2
- freebase vector file in python gensim
- Patch for /trunk/word2vec.c
- malloc.h HOT 9
- How can I get the coordinates of all words?
- Charset encoding HOT 1
- Patch for /trunk/demo-train-big-model-v1.sh HOT 4
- Fix build errors and warnings
- cnnot check out ?
- slightly optimized word2vec
- expTable array initialization
- Missing first letters in precompiled word vectors file: GoogleNews-vectors-negative300.bin HOT 1
- Keeping indexing URIs in plain text models
- Cluster output malformed
- The definition of sentences? HOT 1
- Patch for /trunk/word2vec.c
- Patch for /trunk/README.txt
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from word2vec.