Skip to content

How to remove evaluation of frozen components ? #12973

Discussion options

You must be logged in to vote

The error message is a little confusing, since there's an internal "parser" that is used for both parser and ner, so my first guess is that there is some problem with the NER training data that leads to this particular error.

But to back up a bit first: you have the right overall idea here, but in practice it doesn't work to train ner with a frozen transformer component. You'll need to use a separate transformer component if you want to add ner to fr_dep_news_trf (yes, it will be twice as big and twice as slow, which is why we don't publish a fr_core_news_trf pipeline right now).

I'd recommend:

  • train only transformer+ner using the ner GPU config from the training quickstart or init config

Replies: 1 comment 2 replies

Comment options

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

@adrianeboyd
Comment options

Answer selected by probavee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
training Training and updating models feat / transformer Feature: Transformer
2 participants