Skip to content

Instantly share code, notes, and snippets.

@AdroitAnandAI
Created August 17, 2020 17:36
Show Gist options
  • Save AdroitAnandAI/8a067502d3ca72559eefad50a74e937c to your computer and use it in GitHub Desktop.
Save AdroitAnandAI/8a067502d3ca72559eefad50a74e937c to your computer and use it in GitHub Desktop.
word2vec
# from gensim.models import Word2Vec
from gensim.models.word2vec import Word2Vec
from gensim.models import KeyedVectors
model = KeyedVectors.load_word2vec_format('GoogleNews-vectors-negative300.bin.gz', binary=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment