Skip to content

rafis/word2vecjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

word2vecjs

After word2vec came out in C, it been ported to Win32 and MacOS platforms, then on python (gensim). But I haven't found the port to JavaScript (NodeJS).

Limitations

  • Only for learning
  • Only Skip-gram model (no CBOW model)
  • Only Negative sampling (no Hierarchical soft-max)
  • Only single thread
  • Only word2vec executable (no distance, word-analogy, compute-accuracy, word2phrase)

Usage

node bin/word2vec --train data.txt --output vec.txt -size 300 --cbow 0

About

Port of word2vec to JavaScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published