I trained a model using aws blazingtext algorithm on amazon sagemaker and I was able to deploy an endpoint using sagemaker. However, in my circumstance this is not cost-efficient and I would like to run it locally. I have found the documentation on this to be confusing.
What I have is the trained model saved as a "model.tar.gz" file that I have downloaded from my s3 bucket. I have read online that you can deploy models using tensorflow and docker images, but I simply want to deploy the model I have created using sagemaker using my local machine. Essentially what I want to do is :
predictor = sagemaker.deploy(initial_instance_count=1, instance_type='local_cpu')
I expect to be able to use the predict function to make inference calls and return responses with the prediction results. I am looking for which libraries to use, and the associated code to accomplish this task. Thank you.