Very high losses when training a custom NER in SpaCy v3.2 #9971
-
Hi, I am trying to train a blank model from scratch for medical NER in SpaCy v3.2. I have around 717 texts with 46 labels (18 816 annotated entities). Even after all epochs, losses NER do not decrease and the model still doesn't predict the output correctly. Here are the results obtained from the last epoch: and training parameters in config file: Why does this happen, how do I train the model properly? Thanks in advance, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
Without knowing a lot from your dataset / use-case, it might be tricky to infer how to best train your model.
|
Beta Was this translation helpful? Give feedback.
Without knowing a lot from your dataset / use-case, it might be tricky to infer how to best train your model.
However here are some sanity-checks that I usually do:
debug data
to check that.init config
or refer to the Quickstart here.