How to deploy pre-trained model?

0

I have a pre-trained model that will translate text from English to Marathi. You can find it here...
git clone https://github.com/shantanuo/Word-Level-Eng-Mar-NMT.git

Clone and Run the notebook. I am looking for a way to deploy it so that users can use it as an API

The guidelines for deploying the model can be found here...
https://gitlab.com/shantanuo/dlnotebooks/blob/master/sagemaker/01-Image-classification-transfer-learning-cifar10.ipynb

I will like someone to suggest me the steps to follow to deploy the model.

已提问 5 年前644 查看次数
1 回答
0

Hi Shantanu Oak,

The basic idea to deploy model to SageMaker is: 1) Containerize your model. 2) Publish your model to ECR repository and grant SageMaker necessary permissions. 3) Call CreateModel, CreateEndpointConfig and CreateEndpoint to deploy your model to SageMaker.

Per your notebook of training the model, you didn't use any SageMaker sdk to containerize your model automatically, so it is more complicated to start from scratch. You may consider use any of the following sample notebooks with keras to containerize your model first: https://github.com/awslabs/amazon-sagemaker-examples

AWS
已回答 5 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则