JavaScript
x
6
1
UserWarning: [W094] Model 'en_training' (0.0.0) specifies an under-constrained spaCy version requirement: >=2.1.4.
2
This can lead to compatibility problems with older versions,
3
or as new spaCy versions are released, because the model may say it's compatible when it's not.
4
Consider changing the "spacy_version" in your meta.json to a version range,
5
with a lower and upper pin. For example: >=3.2.1,<3.3.0
6
spaCy version 3.2.1 Python version 3.9.7 OS Window
Advertisement
Answer
For spacy v2 models, the under-constrained requirement >=2.1.4
means >=2.1.4,<2.2.0
in effect, and as a result this model will only work with spacy v2.1.x.
There is no way to convert a v2 model to v3. You can either use the model with v2.1.x or retrain the model from scratch with your training data.