Skip to content
Advertisement

How to fix spaCy en_training incompatible with current spaCy version

JavaScript

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.

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement