Word Embedding is an effective way to represent relationship between words. Words with similar neighbors (context) have similar embeddings. In the now well-known paper published by Mikolov et al (2013), they demonstrated how to use continuous bag-of-words (CBOW) model to train word embeddings, which can be applied to analogy and other downstream tasks. This project uses Numpy to train word embeddings using CBOW model from scratch and apply on analogy task. Please see the jupyter notebook in the repository for details! Check also my blog post(https://halfmoonliu.github.io/posts/train-word-embeddings-with-cbow-model-link/) for more detailed description!
-
Notifications
You must be signed in to change notification settings - Fork 0
Python notebook for training word embeddings using Word2vec from scratch using NumPy, demonstrating the underlying structure of feedforward neural network.
halfmoonliu/WordEmbeddings
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Python notebook for training word embeddings using Word2vec from scratch using NumPy, demonstrating the underlying structure of feedforward neural network.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published