October 2018
Intermediate to advanced
472 pages
10h 57m
English
In this chapter, we will be using the gensim module (https://github.com/RaRe-Technologies/gensim) to train our word2vec model. Gensim provides large-scale multi-core processing support to many popular algorithms, including Latent Dirichlet Allocation (LDA), Hierarchical Dirichlet Process (HDP), and word2vec. There are other approaches that we could take, such as the use of TensorFlow (https://github.com/tensorflow/models/blob/master/tutorials/embedding/word2vec_optimized.py) to define our own computation graph and build the model—this is something that we will look into later on.
Read now
Unlock full access