Issue with static vectors in a Transformer pipeline when upgrading from v3.1.1 to v3.2.3 #10559
-
Hello, I am in the process of transitioning over to version 3.2.3. I retrained the NER transformer using spacy 3.2.3 and I am using the en_core_web_md 3.2.0. Unfortunately I am now getting the following error:
I have also noticed a warning as I build the pipeline
Here is the excerpt from the config file
My pipeline configuration is identical to the one I had with version 3.1.1. With 3.2.3 should I be setting up things differently to have a pipeline with a transformer-based NER along with the en_core_web_md NER (static vectors) ? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
If you're getting this warning, it's usually that If you want to source |
Beta Was this translation helpful? Give feedback.
If you're getting this warning, it's usually that
paths.vectors
and/orinitialize.vectors
aren't configured correctly in your config. (Usuallyinitialize.vectors
should refer topaths.vectors
, but double-check because there have some minor changes forinit config
in newer versions of spacy to make it more consistent across settings.)If you want to source
ner
fromen_core_web_md
, you also need to useen_core_web_md
for the vectors in the new config.