Reduce spacy package size for AWS Lambda limits #11783
Replies: 1 comment 2 replies
-
There are other places to check, too, for instance it currently looks like using |
Beta Was this translation helpful? Give feedback.
-
There are other places to check, too, for instance it currently looks like using |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I would like to perform NER with spacy en_core_web_sm into an AWS Lambda which has already other packages installed (like scrapy).
Is there a way to reduce the installation size of the model?
The usage is:
Logic on doc.ents.
I'm creating a Layer from a Docker File where I installed scrapy and spaCy.
requirements.txt
spacy
scrapy
fuzzywuzzy
python-Levenshtein
python-dateutil
the en_core_web_sm can be downloaded from S3 in order to create a smaller layer. But I woul like to reduce the size of the spacy installation if it's possible.
Thank you for your help!
Beta Was this translation helpful? Give feedback.
All reactions