GloVe icon indicating copy to clipboard operation
GloVe copied to clipboard

where to get the words of pre-trained?

Open githubg0 opened this issue 6 years ago • 1 comments

hello,I'm new to GloVe. I download the "Common Crawl (840B tokens, 2.2M vocab, cased, 300d vectors, 2.03 GB download): glove.840B.300d.zip", and unzip the file, I found there is no vocabularies in that file. can anyone can tell me how to get the vocabularies which is pair to the file I download.

githubg0 avatar Aug 18 '18 05:08 githubg0

using glove-python you can load glove txt file can get vocab,vectors mos similar keywords to a function and other things.

from glove import Glove
obj = Glove.load_stanford(glovefilepath)
print(obj.vocab)

akanshajainn avatar Aug 29 '18 08:08 akanshajainn