jakartaresearch/cerpen-corpus
Viewer • Updated • 50 • 24 • 4
A very simple implementation of Continuous Bag-of-Words for those learning about Natural Language Processing.
Well, Word2Vec is the concept of using a shallow neural network to turn a word into vector. Meanwhile, Skip-Gram is just another variant of CBOW. Skip-Gram and CBOW is Word2Vec.
Download the train.ipynb file and execute every cell.
At the bottom of the notebook, we have the "inference" part where we can test with whatever word is in the model vocabulary.