Top "Word2vec" questions

This tool provides an efficient implementation of the continuous bag-of-words and skip-gram architectures for computing vector representations of words.

Gensim: KeyError: "word not in vocabulary"

I have a trained Word2vec model using Python's Gensim Library. I have a tokenized list as below. The vocab …

python nlp gensim word2vec topic-modeling
How to check if a key exists in a word2vec trained model or not

I have trained a word2vec model using a corpus of documents with Gensim. Once the model is training, I …

python gensim word2vec
How to find the closest word to a vector using word2vec

I have just started using Word2vec and I was wondering how can we find the closest word to a …

python text-mining data-analysis word2vec
How can a sentence or a document be converted to a vector?

We have models for converting words to vectors (for example the word2vec model). Do similar models exist which convert …

vector nlp word2vec
Update gensim word2vec model

I have a word2vec model in gensim trained over 98892 documents. For any given sentence that is not present in …

gensim word2vec
Get most similar words, given the vector of the word (not the word itself)

Using the gensim.models.Word2Vec library, you have the possibility to provide a model and a "word" for which …

python gensim word2vec
TensorFlow 'module' object has no attribute 'global_variables_initializer'

I'm new to Tensorflow I'm running a Deep learning Assignment from Udacity on iPython notebook. link And it has an …

python tensorflow deep-learning word2vec
How to get vocabulary word count from gensim word2vec?

I am using gensim word2vec package in python. I know how to get the vocabulary from the trained model. …

gensim word2vec
Using pre-trained word2vec with LSTM for word generation

LSTM/RNN can be used for text generation. This shows way to use pre-trained GloVe word embeddings for Keras model. …

machine-learning neural-network keras lstm word2vec
Get bigrams and trigrams in word2vec Gensim

I am currently using uni-grams in my word2vec model as follows. def review_to_sentences( review, tokenizer, remove_stopwords=…

python tokenize word2vec gensim n-gram