Showing posts with the label word2vec

[FIXED] Using NearestNeighbors and word2vec to detect sentence similarity

Issue I have calculated a word2vec model using python and gensim in my corpus. Then I calculated…

[FIXED] When to use Word2vec and bag of words?

Issue I'm still unsure about when to use word2vec and when to rely on the bag of words. For exa…

[FIXED] How to find similar words with FastText?

Issue I am playing around with FastText , https://pypi.python.org/pypi/fasttext ,which is quite sim…

[FIXED] Keras Semantic Similarity model from pre-trained embeddings

Issue I want to implement a Keras model to predict the similarity between two sentences from words …

[FIXED] How do I adapt code to make CNN model compatible with a higher dimension word embedding?

Issue I have been following an online tutorial on 1D CNN for text classification. I have got the mo…

[FIXED] word2vec/gensim — RuntimeError: you must first build vocabulary before training the model

Issue I am having trouble training my own word2vec model on the .txt files. The code: import ge…

[FIXED] How to get the dimensions of a word2vec vector?

Issue I have run a word2vec model on my data list_of_sentence : from gensim.models import Word2Vec…

[FIXED] Word2Vec + CNN Overfitting

Issue Currently I'am training my Word2Vec + CNN for Twitter sentiment analysis about COVID-19 v…

[FIXED] Ensure the gensim generate the same Word2Vec model for different runs on the same data

Issue In LDA model generates different topics everytime i train on

[FIXED] Word2Vec + LSTM Good Training and Validation but Poor on Test

Issue currently I'am training my Word2Vec + LSTM for Twitter sentiment analysis. I use the pre-…

[FIXED] Word2vec raise KeyError(f"Key '{key}' not present")

Issue Currently using gensim 4.0 library to write the code. However, I don't know why it keeps …

[FIXED] Similarity between multiple vectors having same length

Issue Objective : Compute a similarity between two users on the basis of their skills Approach :…

[FIXED] Can we deduce the relationship b/w a dimension of a word vector with the linguistic characteristic it represents?

Issue Let's imagine we generated a 200 dimension word vector using any pre-trained model of the…

[FIXED] Infer "shapes", or infer analogous relations in Word2Vec

Issue Gensim Word2Vec offers a system for inferring analogous relationships, that is, with the &quo…

[FIXED] What is the data type of X in pca.fit_transform(X)?

Issue I got a word2vec model abuse_model trained by Gensim. I want to apply PCA and make a plot on…

[FIXED] movie similarity using Word2Vec and deep Convolutional Autoencoders

Issue i am new to python and i am trying to create a model that can measure how similar movies are …

[FIXED] MemoryError: unable to allocate array with shape and data type float32 while using word2vec in python

Issue I am trying to train the word2vec model from Wikipedia text data, for that I am using followi…

[FIXED] Text classification using Word2Vec and Pos tag

Issue I have a medical dataset like Text: "weakness, diarrhea, neck pain" Target:"X…

[FIXED] Compute sentence similarity between predicted sentence and a list of sentences(Using TDIDF)

Issue i am trying to find the a method that uses TDIDF to see how 'new' a predicted sentenc…

[FIXED] How to handle KeyError(f"Key '{key}' not present") wor2vec with gensim

Issue I have build a model with gensim library and am trying to get the vector of word that not pre…