Skip to content
Discussion options

You must be logged in to vote

This pipeline component currently doesn't support training on NER and REL at the same time - instead it assumes that gold entities are already present when training the REL component.

The underlying reason is that in spaCy 3.0, components are updated in isolation during training, which means that they don't see the predictions of any earlier components in the pipeline.

In the upcoming 3.1, this mechanism will become more transparent & extensible, and you'll be able to specify components that should set annotations on the predicted docs during training, so that downstream components can use those predictions as features or to build on them. In that case, you'd be able to use the predicted …

Replies: 1 comment 2 replies

Comment options

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

@svlandeg
Comment options

Answer selected by svlandeg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / ner Feature: Named Entity Recognizer feat / pipeline Feature: Processing pipeline and components projects spaCy projects and project templates feat / rel Feature: Relation Extractor
2 participants