plasticityai / magnitude

A fast, efficient universal vector embedding utility package.
MIT License
1.62k stars 119 forks source link

ELMO_heavy #91

Open LeonHammerla opened 2 years ago

LeonHammerla commented 2 years ago

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 359, in init self.length = self._db().execute( IndexError: list index out of range