tbmihailov / glove-gensim

Converting GloVe vectors into word2vec format for easy usage with Gensim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

glove-gensim

Converting GloVe vectors into word2vec format for easy usage with Gensim

word2vec embeddings start with a line with the number of lines (tokens?) and the number of dimensions of the file. This allows gensim to allocate memory accordingly for querying the model. Larger dimensions mean larger memory is held captive. Accordingly, this line has to be inserted into the GloVe embeddings file.

About

Converting GloVe vectors into word2vec format for easy usage with Gensim

License:MIT License


Languages

Language:Python 100.0%