{'text': 'This is an experiment.',
'accept': ['label A'],
'answer': 'accept'}
it adds {'cats': {'label A': 1.0, 'label B': 1.0}}, but I am not accepting label B. I am not sure if I understand the meaning of cats correctly. Could you explain what cats is used for and what it means? Thank you.
Internally, Prodigy now also supports a "cats" property on the task instead of just a "label". This makes it easier to harmonise textcat annotations from different formats, since we now also support the multiple choice format with one or more selected "options".
The cats are similar to spaCy's doc.cats: a dict of the labels and their scores. 1.0 means the label applies and 0.0 means it doesn't.