Closed schmmd closed 5 years ago
I was running out of date code.
Hi @schmmd. Could you please help me? I cannot train the model too. I have the latest version of the code, but I am using the pretrained model which is available on this site:
ner-model-2018.12.18.tar.gz
I get the same error:
Traceback (most recent call last):
File ".../Research.py", line 372, in
I used the config which is in the ner-model-2018.12.18.tar.gz archive.
Also I used the config which is available here: https://github.com/allenai/allennlp/blob/master/training_config/ner.jsonnet
But I still get the error. Could you please tell me how have you fixed the problem? I can't train the model
@lyriccoder can you open a new issue with a full reproduction? It would be good to know the exact command you are running to retrain a model, as well as the version of AllenNLP you are using. If you're getting an error, please include the full stacktrace.
From: http://allennlp.org/tutorials/training-and-evaluating
python -m allennlp.run train tutorials/getting_started/simple_tagger.json --serialization_dir /tmp/tutorials/getting_started