facebookresearch / LAMA

LAnguage Model Analysis
Other
1.36k stars 184 forks source link

Windows, Ubuntu, Allennlp #27

Open bilboswaggins123321 opened 4 years ago

bilboswaggins123321 commented 4 years ago

Hi There - I could use your help on a few questions I have:

I am on Win10 and running ubuntu with Linux dev. I was wondering why i am getting the following error when I run "python scripts/run_experiments.py":

Traceback (most recent call last): File "scripts/run_experiments.py", line 8, in from batch_eval_KB_completion import main as run_evaluation File "/home/USER/LAMA/scripts/batch_eval_KB_completion.py", line 7, in from lama.modules import build_model_by_name File "build/bdist.linux-x86_64/egg/lama/modules/init.py", line 8, in File "build/bdist.linux-x86_64/egg/lama/modules/elmo_connector.py", line 10, in ImportError: No module named allennlp.modules.elmo

I have reinstalled Allennlp several times and upgraded. Same error.

Also, i was wondering if I can run LAMA on windows without using the linux completely. Thank you!