magnitude
magnitude copied to clipboard
A fast, efficient universal vector embedding utility package.
``` >>> vecs = Magnitude('http://magnitude.plasticity.ai/word2vec/heavy/GoogleNews-vectors-negative300.magnitude') # full url >>> Unable to open: No such file or directory (2) Killed ``` But module has been previously downloaded and cached ``` ubuntu@magnitude:~$...
Hey, :) Awesome package! However, your third-party `allennlp` code is very old. It imports `MutableMapping` from `collections`, while it was moved to `collections.abc` in Python 3.3 and has since been...
Downloaded this ELMO-model: "elmo_2x4096_512_2048cnn_2xhighway_5.5B_weights_GoogleNews_vocab.magnitude" But when i try to load it with: Magnitude(ELMO) (where ELMO is path to the downloaded .magnitude file) i get the following ERROR: File "/path/to/venv/lib/python3.8/site-packages/pymagnitude/__init__.py", line...
Quering taking lot of time (18 sec to 3 min) intermittently I am using pymagnitude in one of my project to load and use GoogleNews-vectors-negative300.bin. I have converted GoogleNews-vectors-negative300.bin ---->...
Using pip3 (or pip) install pymagnitude and getting the error: ``` Using cached pymagnitude-0.1.100.tar.gz (5.4 MB) Building wheels for collected packages: pymagnitude Building wheel for pymagnitude (setup.py) ... error ERROR:...
Hi -- I'm trying to make use of PyMagnitude in a Docker image that has Spacy 3.0.6 installed. When trying to load the downloaded vectors I receive the following error:...
Hi, Thanks for this amazing module. It helps a lot One question.. the usage of this module always causes of out of memory issue (my Device: 16G RAM) even my...
The test `MultiHeadSelfAttentionTest::test_multi_head_self_attention_respects_masking` in `pymagnitude/third_party/allennlp/tests/modules/seq2seq_encoders/multi_head_self_attention_test.py` fails intermittently with the following assertion error: ``` E AssertionError: E Arrays are not almost equal to 7 decimals E E Mismatched elements: 1 /...
I think the usage of this framework should more focus on embedding construction with other deep learning framework. such as non.Embedding in pytorch and so on. With the help of...
I have an API that returns most_similar_approx from a magnitude model. The model is built from native Word2Vec format with 50 dimensions and 50 trees. The magnitude model is close...