How to get vector for a sentence from the word2vec of tokens in sentence
I have generated the vectors for a list of tokens from a large document using word2vec. Given a sentence, is it possible to get the vector of the sentence from the vector of the tokens in the sentence. There are differet methods to get the sentence vectors : Doc2Vec : you can train your dataset using Doc2Vec and then use the sentence vectors. Average of Word2Vec vectors : You can just take the average of all the word vectors in a sentence. This average vector will represent your sentence vector. Average of Word2Vec vectors with TF-IDF : this is one of the best approach which I will recommend.