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

How to use or read the zip file? #91

Closed guotong1988 closed 7 years ago

guotong1988 commented 7 years ago

I have downloaded the glove.840B.300d.zip. But I don't know how to read or use it. Thank you.. @futurulus @gangeli @jtibshirani @manning @nihit @sebschu @vzhong

vzhong commented 7 years ago

Hi, please see here for an example on how to parse the zip file: https://github.com/vzhong/embeddings/blob/master/embeddings/glove.py

You can also use this library to load word embeddings: https://github.com/vzhong/embeddings