Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 1.13 KB

README.md

File metadata and controls

19 lines (15 loc) · 1.13 KB

Skipgram with Hierarchical Softmax

Skipgram is widely studied in the context of word variance representation learning(word2vec).

This is a C ++ implementation of Skip-gram with hierarchical softmax(hSm).
hSm can speed up parameter update by utilizing the constructed binary tree.

The properties of hSm are as follows:

  • The number of vectors that need to be updated is logarithmic order.
  • By using the Huffman tree, the data approaches balanced data at each node.

Dependencies

  • gcc 7.2.0
  • boost 1.66.0

Link