Training a SpanCat and NER Pipeline in spacy #11416
Unanswered
ChinmayR1202
asked this question in
Help: Coding & Implementations
Replies: 1 comment 6 replies
-
You should be able to train both of those at the same time - as long as each model has a Listener for the tok2vec component, they can share a tok2vec (or Transformer). You could also train them separately and add them into the same pipeline, like is done with two NER components in this sample project. I wouldn't expect it to be drastic but there may be an accuracy difference between the two approaches. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to train a spacy model with both SpanCat and NER in the pipeline. I have both NER and SpanCat as separate annotations from prodigy.
My question is that if I want to train the model, do I freeze NER first, train it on SpanCat dataset, then freeze SpanCat and train it on NER dataset? Or is there another way to do it?
Beta Was this translation helpful? Give feedback.
All reactions