Train NER based on existing model or add custom trained NER to existing model error #10032
-
Spacy : 3.2
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
ERROR: |
Beta Was this translation helpful? Give feedback.
-
What are you trying to do? I don't understand from just your title. Also if you have an error please post the whole stack trace. |
Beta Was this translation helpful? Give feedback.
-
Your new This line is using the value from your mismatched config, which is later replaced with the source config, but the new config already has the incorrect value: width = ${components.tok2vec.model.encode.width} |
Beta Was this translation helpful? Give feedback.
Your new
ner
component'stok2vec
listener settings are mismatched with the settings for the sourcedtok2vec
fromen_core_web_sm
. If you usesource =
, don't include any other config settings for this block since they will be overwritten with the settings from the source model instead.This line is using the value from your mismatched config, which is later replaced with the source config, but the new config already has the incorrect value:
width = ${components.tok2vec.model.encode.width}