Hi, my organization is creating a chatbot using rasa. We are using a spacy model. The model trains and runs perfectly on our system, but when we try to run it on docker, it gives us an error stating “Could not load model due to Model ‘en_core_web_sm’ is not a linked spaCy model.”
The required libraries/files for spacy are already present in our requirements.txt and since our model runs perfectly on our local system, it isn’t possible that the library is not present.
Spacy version in our requirements.txt - spacy==2.3.5 en-core-web-sm @ https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-2.3.1/en_core_web_sm-2.3.1.tar.gz
Pipeline used - config_spacy.yml (attached)config_spacy.yml (1.6 KB)
After training and testing the model, we make its image and try running on docker. The docker run is unsuccessful because of the spacy error.
Screenshot of the error attached.