ikuinen / CMIN_moment_retrieval

Cross-Modal Interaction Networks for Query-Based Moment Retrieval in Videos
86 stars 20 forks source link

about the glove_model.bin #5

Closed zqlearning closed 4 years ago

zqlearning commented 5 years ago

Hi, Thanks for your sharing. I don't know where to find it, looking forward to your reply

ikuinen commented 5 years ago

The word2vec model "glove_model.txt" can be converted into binary format for faster IO using gensim.

from gensim.models import KeyedVectors
KeyedVectors.save_word2vec_format(..., binary=True)
yxinli92 commented 4 years ago

Hi @ikuinen could you help point out where can I find this "glove_model.txt", thanks!

wangwen39 commented 4 years ago

You can convert [glove.840B.300d.txt(https://nlp.stanford.edu/projects/glove/) to glove.840B.300d.bin.