Skip to content

Instantly share code, notes, and snippets.

@infinite-Joy
Created November 3, 2018 02:40
Show Gist options
  • Save infinite-Joy/7b96a3b688fc8ea085f954ba072b8f86 to your computer and use it in GitHub Desktop.
Save infinite-Joy/7b96a3b688fc8ea085f954ba072b8f86 to your computer and use it in GitHub Desktop.
from gensim.models import KeyedVectors
filename = 'emb/movies.emb'
model = KeyedVectors.load_word2vec_format(filename, binary=False)
model.most_similar('260169')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment