stanfordnlp / GloVe

Software in C and data files for the popular GloVe model for distributed word representations, a.k.a. word vectors or embeddings
Apache License 2.0
6.86k stars 1.51k forks source link

Using pretrained model for calculating similarity between two words #94

Open saurabhvyas opened 7 years ago

saurabhvyas commented 7 years ago

I couldn't find anywhere in documentation , how to use a pretrained model for inference , say I have two words , and I want to check the similarity distance between them , how do I do that in python ? Also , is there a way to train on phrases and words ?