Skip to content
Discussion options

You must be logged in to vote

We don't have an example for this. spaCy uses multi-task learning, but having multiple classifier heads is a case we hadn't considered. We usually use the multi-task functionality for things like tagger+parser.

That said, it should work fine if you add two textcat components and explicitly specify their labels (rather than letting them be inferred from the data). If you try that and have issues let us know.

Going to link your previous question, since it's closely related: #9677

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@info2000
Comment options

@adrianeboyd
Comment options

Answer selected by polm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / textcat Feature: Text Classifier
4 participants