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.

asked 5 years ago601 views
1 Answer
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
answered 5 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions