Implement EntityRuler upstream of NER component for training NER model #11048
Unanswered
kliu-qt
asked this question in
Help: Coding & Implementations
Replies: 3 comments 9 replies
-
The EntityRuler is designed to be used with the NER component, including putting the ruler first so that the NER can predict around it - see this section in the docs. I am not sure if this is an issue with |
Beta Was this translation helpful? Give feedback.
3 replies
-
I think the problem might be that the labels aren't initialized correctly for
|
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to have an EntityRuler in front of a NER component during training so it provides some information for NER to learn from?
I tried including a EntityRuler in the config file and set it as annotating component. But I'm getting this error below:
Aborting and saving the final best model. Encountered exception: ValueError("[E024] Could not find an optimal move to supervise the parser. Usually, this means that the model can't be updated in a way that's valid and satisfies the correct annotations specified in the GoldParse.
My config file looks like this:
Beta Was this translation helpful? Give feedback.
All reactions