Skip to content

Issue Training Spancat with Transformers Component #10155

Discussion options

You must be logged in to vote

You have a TransformerListener but no Transformer for it to listen to. There are multiple ways to do this but usually we would put a Transformer in the pipeline (so pipeline = ["transformer", "spancat"], and there's a block for it).

You can see what this looks like by using the quickstart to get a config with a Transformer for another component (say textcat). You may find it easier to set up the config by taking a config like that and replacing the parts for the component you're not using with your spancat bits.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@adrianeboyd
Comment options

@dlinde
Comment options

Answer selected by dlinde
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / config Feature: Training config feat / transformer Feature: Transformer feat / spancat Feature: Span Categorizer
3 participants
Converted from issue

This discussion was converted from issue #10152 on January 28, 2022 04:51.