maciejkula / glove-python

Toy Python implementation of http://www-nlp.stanford.edu/projects/glove/
Apache License 2.0
1.25k stars 319 forks source link

how to get vector by words ? #77

Open adamaulia opened 6 years ago

adamaulia commented 6 years ago

I successful train my own glove , using this following link

  1. https://nlp.stanford.edu/projects/glove/
  2. https://github.com/maciejkula/glove-python/blob/master/examples/example.py but, the problem come after I load model,* load model was succeed. but I don't know how to get vector each word.

if load glove model from stanford, I use this way https://stackoverflow.com/questions/37793118/load-pretrained-glove-vectors-in-python