Entity Linker Loss spacy train not changing #13236
Replies: 2 comments 2 replies
-
Hm, odd. How many EL instances do you have in the training & dev sets? And can you share the full config file? |
Beta Was this translation helpful? Give feedback.
-
I looked at your config file in detail - but nothing weird jumps out to me (maybe perhaps only the fact that 0.5 is a really high dropout value) So you mention
What does this mean exactly - is the Entity Linker in fact able to disambiguate entities to their correct identifier, even when there's ambiguity? There might be a few things explaining this behaviour, but I think you'll have to dive into your data to better understand what's going on. For instance, if your KB only contains non-ambiguous entities, then the "prior probability" might be all that the entity linker needs. The training part really only serves to train the context-dependent part of the entity linker - i.e. given two plausible IDs for the same Span, which is more likely to be correct given the context? In your case, this part doesn't seem to be training. There's a few things I'd advice trying to pin down what's going on:
If the data & KB looks fine, a few other experiments you could try:
|
Beta Was this translation helpful? Give feedback.
-
Hi all,
I'm training a custom NEL using the spacy train CLI.
During Training, no values are changing. I expected to get a not working pipeline, but that is not the case. The pipeline works fine afterwards.
Used config scores:
[training.score_weights]
tag_acc = null
lemma_acc = null
dep_uas = null
dep_las = null
dep_las_per_type = null
sents_p = null
sents_r = null
sents_f = null
ents_f = null
ents_p = null
ents_r = null
ents_per_type = null
nel_micro_f = 1.0
nel_micro_r = null
nel_micro_p = null
Because the scores are not changing, logging to wandb is useless..
Has anyone encountered the same issue?
Thanks for your help!
Best regards,
Fabian
Beta Was this translation helpful? Give feedback.
All reactions