Implemented word2vec CBOW model using torch and lua.
https://docs.google.com/spreadsheets/d/1OyW6sr164m7zp6amO9yjII5xhlwbXjbdTMWadc3OZdM/edit?usp=sharing
https://docs.google.com/document/d/1rkf6LkzC0C9kQ7c0NZ93Q6Fxx7rT7KnGZk7DEChhZVs/edit?usp=sharing
This code will give a .txt file of vectors. In order to compute accuracy, we need to convert this .txt file to .bin file. So for conversion we used the following code from this repository. Instructions to use this can be found in its readme section.
https://github.com/marekrei/convertvec
For checking accuracy use the compute-accuracy.c code from the following repository. https://github.com/ankur263/word2vec