error while loading the model on aws lambda using SequenceTagger.load("flair/ner-english-ontonotes-large")
#3
by
Yeementh24
- opened
hi ,we trying to use "flair/ner-english-ontonotes-large" want to know is there any method to load the model and store it in temporary location .
Also we are trying to build the docker container were we store all the files related to model
Dockerfile:
COPY ./lambda-service/lambda/ner_model ${LAMBDA_TASK_ROOT}/ner_model
lambda function:
self.tagger = SequenceTagger.load("./ner_model")