textcat vs textcat_multilabel #6912
Replies: 1 comment 2 replies
-
Hm, interesting question. Are you using the same configuration with So while this might seem confusing, this might not be a bug or even a problem at all. You just have to make sure to use the correct component that matches your data & configuration, I guess. |
Beta Was this translation helpful? Give feedback.
-
Hi!
I'm trying to train a textcat model on a small dataset, to make sure my code is working properly, but I don't think it is.
This dataset has 8 categories, with only one per document, but when I try training a textcat pipeline I get results like this:
And it doesn't get much better than this. But when I change it to a textcat_multilabel pipeline I get results like this:
Is this behaviour expected? Am I doing something wrong? Any help or insight on what might be causing this problem would be appreciated!
Thank you in advance!
I'm using the same train (1136 examples) and validation (286 examples), and this is my code for converting inputs to examples and config, if it is of any help.
Beta Was this translation helpful? Give feedback.
All reactions