use_gold_ents error when using EntityLinker.v1 #10887
Unanswered
kudryk-enverus
asked this question in
Help: Coding & Implementations
Replies: 1 comment 4 replies
-
Sorry you've run into trouble with this. I need to investigate further, but I think what is happening is that Separate from that issue though, have you tried upgrading to v2 of the EntityLinker? The only difference in behavior should be that v2 supports a tok2vec with multiple listeners - there shouldn't be any actual change in predictions or anything. You can upgrade by just changing the line in your config. |
Beta Was this translation helpful? Give feedback.
4 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.
-
On my project we are using spaCy 3.3.0 but still using the EntityLinker.v1. The configuration for it in our NER model is as follows:
After the already built NER model is installed and I'm assembling it into NLP model, I get the following error:
If I examine the installed NER package, the
use_gold_ents
attribute is in config.cfg whereas above it was absent.If I then manually comment out that line, only then will our model successfully assemble.
As
use_gold_ents
is only for v2 of the entity linker, how is this being inserted?Beta Was this translation helpful? Give feedback.
All reactions