Hironsan / anago

Bidirectional LSTM-CRF and ELMo for Named-Entity Recognition, Part-of-Speech Tagging and so on.
https://anago.herokuapp.com/
MIT License
1.48k stars 368 forks source link

In elmo_example.py '../data/glove.6B/glove.6B.100d.txt' path not found. #108

Open nikhiljsk opened 5 years ago

nikhiljsk commented 5 years ago

System information

Describe the problem

While running the elmo_example.py file, In the 'Loading word embeddings' section of the code, the execution stops with the following error.

Traceback (most recent call last): File "elmo_example.py", line 78, in <module> main(args) File "elmo_example.py", line 28, in main embeddings = load_glove(EMBEDDING_PATH) File "/anaconda3/envs/py36/lib/python3.6/site-packages/anago-1.0.8-py3.6.egg/anago/utils.py", line 277, in load_glove FileNotFoundError: [Errno 2] No such file or directory: '../data/glove.6B/glove.6B.100d.txt'

It is quite obvious that the error was File not found error. How do I overcome that? Is there a way to create that file or some other way around?