dwadden / dygiepp

Span-based system for named entity, relation, and event extraction.
MIT License
571 stars 120 forks source link

KeyError: "'' not found in vocab namespace 'scierc__ner_labels #61

Closed yelmankhan008 closed 3 years ago

yelmankhan008 commented 3 years ago

I'm going to close this for lack of activity, feel free to reopen if not resolved.

Originally posted by @dwadden in https://github.com/dwadden/dygiepp/issues/59#issuecomment-811603389

Hi, thanks for your response. I was able to bypass the error last time and was able to extract entities on my custom dataset (wasn't able to run it on the pre-existing test.json). I am trying to run it again on a different dataset, but the error persists. I created a new environment and installed dependencies using the updated requirements.txt scratch. The stack trace is the same as above.

dwadden commented 3 years ago

I looked at your initial command, and it looks like the path to your data is different from the path specified in the README. Do you know why the dataset is in a different location? Can you confirm that you're using exactly the same version of SciERC as described in the README?

dwadden commented 3 years ago

Closing for lack of activity.