spancat training not working with span group other than "sc" #13090
Labels
feat / spancat
Feature: Span Categorizer
feat / training
Feature: Training utils, Example, Corpus and converters
training
Training and updating models
How to reproduce the behaviour
When
span_key
in[components.spancat_singlelabel]
or[components.spancat]
sections is other than"sc"
, training output looks like this:I thought I was getting insane :)
Seems like a bug at the evaluation step, I didn't investigate further, sorry.
Other parts seem to be working:
is happy with non-"sc" value.
Also, the labels get picked up from the training dataset and show up correctly in
meta.json
.After I changed
span_key
back to the default "sc", I got this:Also, not sure why sentence metrics show up - I am using non-trainable simple sentencizer. It's not that important, obviously.
Your Environment
The text was updated successfully, but these errors were encountered: