Skip to content
Discussion options

You must be logged in to vote

If you use a different key to store the spans, you can train two spancats at the same time without issue. The one decision you'll have to make is how independent you want the spancats to be.

You could have two separate components that share a single tok2vec. In this case they are not totally independent since they share the tok2vec, but they won't directly interfere with each other, and they can easily be trained at the same time.

If you really want them totally independent of each other, I would train them separately and use spacy assemble to combine them after they're trained. The double NER tutorial may be useful here.

Given your note about easily confused labels, I would recommend you…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by smisra1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / spancat Feature: Span Categorizer
2 participants