Top "Gensim" questions

Gensim is a free Python framework designed to automatically extract semantic topics from documents, as efficiently (computer-wise) and painlessly (human-wise) as possible.

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
Doc2Vec Get most similar documents

I am trying to build a document retrieval model that returns most documents ordered by their relevancy with respect to …

python nlp gensim doc2vec
Import GoogleNews-vectors-negative300.bin

I am working on code using the gensim and having a tough time troubleshooting a ValueError within my code. I …

python gensim
Understanding LDA implementation using gensim

I am trying to understand how gensim package in Python implements Latent Dirichlet Allocation. I am doing the following: Define …

python topic-modeling gensim dirichlet
PyTorch / Gensim - How to load pre-trained word embeddings

I want to load a pre-trained word2vec embedding with gensim into a PyTorch embedding layer. So my question is, …

python neural-network pytorch gensim embedding
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
How to extract phrases from corpus using gensim

For preprocessing the corpus I was planing to extarct common phrases from the corpus, for this I tried using Phrases …

python nlp gensim
Python Gensim: how to calculate document similarity using the LDA model?

I've got a trained LDA model and I want to calculate the similarity score between two documents from the corpus …

python nlp lda gensim
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