Skip to content
Discussion options

You must be logged in to vote

So you're using textcat_multilabel but you only have one label. Do you expect to only have one label?

If you have a category and you want to label whether documents are in it or not, you should use normal (non-multilabel) text cat, and label documents as positive or negative (so you have two labels). Some frameworks or libraries will handle that differently, but spaCy requires that to avoid creating a special case for binary classification.

Additionally, the label NEGATION is a little weird. I wouldn't typically expect that to apply to a single document - it's more something that would be applicable to a span in a document or something. Can you give some examples of your data and what you…

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@Pandalei97
Comment options

@arc12
Comment options

@Pandalei97
Comment options

@Malet
Comment options

@adrianeboyd
Comment options

Answer selected by svlandeg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
training Training and updating models feat / textcat Feature: Text Classifier
5 participants