I am using SpaCy's en-core-web-sm in my Python AWS Lambda. I ran pip freeze > requirements.txt to get all the dependencies in the requirements.txt file. en-core-web-sm==2.1.0 is one of the lines in the file.
When I try to make a serverless deployment, I get ERROR: Could not find a version that satisfies the requirement en-core-web-sm==2.1.0 (from versions: none) ERROR: No matching distribution found for en-core-web-sm==2.1.0 .
Even though I am not using Heroku, I followed Heroku Deployment Error: No matching distribution found for en-core-web-sm and added the line https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-2.1.0/en_core_web_sm-2.1.0.tar.gz#egg=en_core_web_sm==2.1.0 in my requirements.txt file only to get Unzipped size must be smaller than 262144000 bytes (Service: AWSLambdaInternal; Status Code: 400; Error Code: InvalidParameterValueException; Request ID: XxX-XxX)
How to wire up en-web-core-sm to my Lambda?
An error occurred while installing https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-1.2.0/en_core_web_sm-1.2.0.tar.gz#egg=en-core-web-sm! Will try againwhen I add this to myrequirements.txtfile.