Skip to content
Discussion options

You must be logged in to vote

I often get that error and it comes up in a couple of different instances. The most common issue for me is the extension attribute is is created in one component and a latter in the pipeline component needs that attribute for training purposes. The solution in that instance is to add something like this to the config file.

[training]
annotating_components = ["tok2vec", "phrases"]

The other common issue I encounter is when there are two components that depend on each other and are very tightly coupled and even if the attribute is not needed for training a later component in the pipeline the logic consumes the attribute. You can add some logic to the lang factory for any attributes that ar…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by fabmeyer
Comment options

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / doc Feature: Doc, Span and Token objects
3 participants
Converted from issue

This discussion was converted from issue #10996 on June 22, 2022 03:05.