Skip to content Skip to sidebar Skip to footer
Showing posts with the label Gensim

Gensim Equivalent Of Training Steps

Does gensim Word2Vec have an option that is the equivalent of 'training steps' in the Tenso… Read more Gensim Equivalent Of Training Steps

Word2vec - What Is Best? Add, Concatenate Or Average Word Vectors?

I am working on a recurrent language model. To learn word embeddings that can be used to initialize… Read more Word2vec - What Is Best? Add, Concatenate Or Average Word Vectors?

Gensim Fasttext Cannot Get Latest Training Loss

Problem description It seems that the get_latest_training_loss function in fasttext returns only 0.… Read more Gensim Fasttext Cannot Get Latest Training Loss

Calculate Perplexity Of Word2vec Model

I trained Gensim W2V model on 500K sentences (around 60K) words and I want to calculate the perplex… Read more Calculate Perplexity Of Word2vec Model

Load Pre-trained Word Embeddings

I want to load pre-trained word embeddings from google news model = gensim.models.KeyedVectors.load… Read more Load Pre-trained Word Embeddings

Issues In Doc2vec Tags In Gensim

I am using gensim doc2vec as below. from gensim.models import doc2vec from collections import named… Read more Issues In Doc2vec Tags In Gensim

Gensim.ldamulticore Throwing Exception:

I am running LDAMulticore from the python gensim library, and the script cannot seem to create more… Read more Gensim.ldamulticore Throwing Exception:

Loss Does Not Decrease During Training (word2vec, Gensim)

What can cause loss from model.get_latest_training_loss() increase on each epoch? Code, used for … Read more Loss Does Not Decrease During Training (word2vec, Gensim)

Retrieve String Version Of Document By Id In Gensim

I am using Gensim for some topic modelling and I have gotten to the point where I am doing similari… Read more Retrieve String Version Of Document By Id In Gensim

Typeerror: Doc2bow Expects An Array Of Unicode Tokens On Input, Not A Single String When Using Gensim.corpora.dictionary()

There is a dataframe like this: index terms 1345 ['jays', 'place', '… Read more Typeerror: Doc2bow Expects An Array Of Unicode Tokens On Input, Not A Single String When Using Gensim.corpora.dictionary()

Converting String Tokens Into Integers

I am trying to convert tokens of sentences into integers. But it is giving me floats. from nltk.to… Read more Converting String Tokens Into Integers

No Module Named 'gensim.sklearn_api'

I try to use from gensim.sklearn_api import W2VTransformer and get ImportError: No module named &#… Read more No Module Named 'gensim.sklearn_api'

Gensim Word2vec Print Log Loss

how to print to log (file or stout) the loss of each epoch in the training phase, when using gensim… Read more Gensim Word2vec Print Log Loss

Word2vec Gensim Multiple Languages

This problem is going completely over my head. I am training a Word2Vec model using gensim. I have … Read more Word2vec Gensim Multiple Languages

Disabling Gensim's Removal Of Punctuation Etc. When Parsing A Wiki Corpus

I want to train a word2vec model on the english wikipedia using python with gensim. I closely follo… Read more Disabling Gensim's Removal Of Punctuation Etc. When Parsing A Wiki Corpus

Extract Array (column Name, Data) From Pandas DataFrame

This is my first question at Stack Overflow. I have a DataFrame of Pandas like this. a b … Read more Extract Array (column Name, Data) From Pandas DataFrame

Saved Gensim LdaMallet Model Not Working In Different Console

I am training a ldamallet model in python and saving it. I am also saving training dictionary that … Read more Saved Gensim LdaMallet Model Not Working In Different Console