Global web icon
stackoverflow.com
https://stackoverflow.com/questions/21979970/how-t…
How to use word2vec to calculate the similarity distance by giving 2 ...
Word2vec is a open source tool to calculate the words distance provided by Google. It can be used by inputting a word and output the ranked word lists according to the similarity.
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/27860652/what-…
What is the concept of negative-sampling in word2vec?
The idea of word2vec is to maximise the similarity (dot product) between the vectors for words which appear close together (in the context of each other) in text, and minimise the similarity of words that do not.
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/63779875/sente…
python - Sentences embedding using word2vec - Stack Overflow
Word2vec & related algorithms are very data-hungry: all of their beneficial qualities arise from the tug-of-war between many varied usage examples for the same word. So if you have a toy-sized dataset, you won't get a set of vectors with useful interrelationships. But also, rare words in your larger dataset won't get good vectors.
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/31440803/how-t…
How to fetch vectors for a word list with Word2Vec?
I want to create a text file that is essentially a dictionary, with each word being paired with its vector representation through word2vec. I'm assuming the process would be to first train word2vec...
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/29760935/how-t…
How to get vector for a sentence from the word2vec of tokens in ...
It is possible, but not from word2vec. The composition of word vectors in order to obtain higher-level representations for sentences (and further for paragraphs and documents) is a really active research topic.
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/42094180/spacy…
SpaCy: how to load Google news word2vec vectors?
SpaCy: how to load Google news word2vec vectors? Asked 8 years, 10 months ago Modified 6 years, 7 months ago Viewed 21k times
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/56071689/whats…
What's the major difference between glove and word2vec?
What is the difference between word2vec and glove? Are both the ways to train a word embedding? if yes then how can we use both?
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/39549248/how-t…
How to load a pre-trained Word2vec MODEL File and reuse it?
import gensim # Load pre-trained Word2Vec model. model = gensim.models.Word2Vec.load("modelName.model") now you can train the model as usual. also, if you want to be able to save it and retrain it multiple times, here's what you should do
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/78318797/word2…
word2vec not working using gensim library - Stack Overflow
from gensim.models import Word2Vec from nltk.tokenize import word_tokenize import nltk nltk.download('punkt') # Sample sentences sentences = [ "This is a sample sentence.", "Word embeddings are cool.", "I love natural language processing." ] # Tokenize the sentences tokenized_sentences = [word_tokenize(sentence.lower()) for sentence in sentences] # Train the Word2Vec model model = Word2Vec ...
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/40058693/how-t…
svn - How to download word2vec? - Stack Overflow
How to download word2vec? Asked 9 years, 1 month ago Modified 8 years, 8 months ago Viewed 32k times