This repo contains how to deploy pretrained model from hugging face hub to sagemaker and from s3 to sagemaker.
- Create endpoint
- Create lambda function with code given in notebook "deploy_transformer_model_from_hf_hub"
- Create Api : rest api, resource, method (lambda) and then deploy it.
- Stage it
- Verify in postman.