Implementation of Word2vec

https://d2l.ai/chapter_natural-language-processing-pretraining/word2vec-pretraining.html