Skip to content
Discussion options

You must be logged in to vote

Hi, thanks for bringing this to our attention! The example code is incorrect - the single label SpanCategorizer doesn't take a threshold argument. We'll fix that in the next release.

That being said, the example code is just a snippet that constructs and adds the SpanCat component to the pipeline. If you wish to train a pipeline with it, the setup is a bit more involved - the demo project should provide a comprehensive overview of how this is done.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@KR1470R
Comment options

@svlandeg
Comment options

@KR1470R
Comment options

Answer selected by adrianeboyd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / spancat Feature: Span Categorizer
4 participants