allenai / bilm-tf

Tensorflow implementation of contextualized word representations from bi-directional language models
Apache License 2.0
1.62k stars 452 forks source link

Import Error: No module named bilm.training when I try to incrementally train ELMo #232

Closed mchari closed 4 years ago

mchari commented 4 years ago

I downloaded bilm-tf-master from https://github.com/allenai/bilm-tf.

When I try to run bin/restart.py, I get an import error.

File "bin/restart.py", line 6, in from bilm.training import train, load_options_latest_checkpoint, load_vocab ImportError: No module named bilm.training

mchari commented 4 years ago

My python environment needed to be set up correctly.