Magnitude fork that only supports Word2Vec, GloVe and fastText embeddings
I've forked the other lite version since package naming was bad and was sometime mix up with the original one
This repository makes the following changes to the excellent Magnitude project:
- Project simplified only to support
Word2Vec
,GloVe
andfastText
embeddings - Approximate indexing/search methods removed
- Annoying
AllenNLP
(ELMo
) andTorch
dependencies removed - Removed internal
SQLite
related libraries (pysqlite
,apsw
) and used systemSQLite
package - Removed logic to download and stream models. Models must all be locally available, and remote servers will not be checked.
- Build process simplified to use
PyPi
dependencies
See Magnitude project for documentation and links to pre-trained models: https://github.com/plasticityai/magnitude