Is it possible to update NER and tok2vec components simultaneously? Error debug model #12112
-
Hello, `[paths] [variables] [system] [nlp] [components] [components.ner] [components.tok2vec] [corpora] [corpora.dev] [corpora.train] [training] [training.batcher] [training.batcher.size] [training.logger] [training.optimizer] [training.score_weights] [pretraining] [initialize] [initialize.before_init] [initialize.components] [initialize.components.ner] [initialize.components.ner.labels] [initialize.tokenizer]` But I get the same error when I run debug data or debug model commands.
What I did wrong? Thanks a lot for helping me. spaCy version 3.4.1 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I think this is a misunderstanding of the pipeline design (https://spacy.io/models#design). The |
Beta Was this translation helpful? Give feedback.
I think this is a misunderstanding of the pipeline design (https://spacy.io/models#design).
The
ner
component inen_core_web_lg
does not depend on thetok2vec
component, so you can sourcener
and update it by itself. Remove thetok2vec
component andinit_tok2vec
from your config and try training again? You will still need theen_core_web_lg
vectors settings.