Skip to content
Discussion options

You must be logged in to vote

This is actually something we're working on making clearer at the moment, but in general pipeline components don't affect each other's accuracy.

  1. Components generally listen to a tok2vec or transformer layer further up the pipeline, which is the main determiner of accuracy besides the model itself.
  2. Components are potentially influenced by changes to the doc object if they modify the same fields; this comes up in NER, where it's common to have a rule-based system and a statistical one and their order matters.
  3. Components can have internal models that aren't in the pipeline general. In the pretrained pipelines NER uses a separate tok2vec from the pipeline one.

In your case of textcat and NE…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by svlandeg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / pipeline Feature: Processing pipeline and components
2 participants