Error spancat singlelabel config #12428
Replies: 2 comments
-
I try to create my config file like that to use add_label function. Not sure that's the best way...
|
Beta Was this translation helpful? Give feedback.
-
Hey there, Sorry for the late response! Just ran an experiment on python -m spacy init config configs/spancat_singlelabel.cfg --lang en --pipeline spancat_singlelabel This example generates a config in In terms of the error you get, the first thing that comes to mind is to make sure that the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am trying to use the singlelabel spancat defined here:
https://spacy.io/api/spancategorizer
I did not find a command in Prodigy to generate the cfg file directly so I had to do it manually.
my config file :
but when I try to do a training I get the message :
I have the impression that it is missing the label used. In the case of a classic spancat it is defined I think in the label/spancat.json directory. I tried that but it didn't work.
What should I do?
Beta Was this translation helpful? Give feedback.
All reactions