3 ms·
Note that like the article says, memory-mapping (mmap) vectors from disk already works in Gensim: https://radimrehurek.com/gensim/models/keyedvectors.html http
by Radim 8y ago
Note that like the article says, memory-mapping (mmap) vectors from disk already works in Gensim:
https://radimrehurek.com/gensim/models/keyedvectors.html https://radimrehurek.com/gensim/models/keyedvectors.html
The low memory footprint in LMDB is interesting. There were also some exciting papers recently that used compression (vector quantization) [0]. We're still evaluating whether to add those to Gensim [1].
[0] word2bits, https://twitter.com/RadimRehurek/status/976015607941517312 https://twitter.com/RadimRehurek/status/976015607941517312
[1] word2bits PR, https://github.com/RaRe-Technologies/gensim/pull/2011#issuecomment-380071273 https://github.com/RaRe-Technologies/gensim/pull/2011#issuec...