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
nercomponent inen_core_web_lgdoes not depend on thetok2veccomponent, so you can sourcenerand update it by itself. Remove thetok2veccomponent andinit_tok2vecfrom your config and try training again? You will still need theen_core_web_lgvectors settings.