Skip to content

SpanCategorizer confidence scores are equal for all spans. #12090

Discussion options

You must be logged in to vote

This is probably because the spancat component depends on an earlier tok2vec or transformer component in the pipeline.

If you want a single independent component, you can use Language.replace_listeners to replace the listener with an internal copy of the tok2vec component.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by ruben-dedoncker
Comment options

You must be logged in to vote
1 reply
@adrianeboyd
Comment options

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 feat / tok2vec Feature: Token-to-vector layer and pretraining
2 participants