2

I've been using Amazon Sagemaker Notebooks to build a pytorch model for an NLP task. I know you can use Sagemaker to train, deploy, hyper parameter tuning, and model monitoring.

However, it looks like you have to create an inference endpoint in order to monitor the model's inference performance.

I already have a EC2 instance setup to perform inference tasks on our model, which is currently on a development box and rather not use an endpoint to make

Is it possible to use Sagemaker to train, run hyperparam tuning and model eval without creating an endpoint.

1 Answer 1

2

If you don't want to keep an inference endpoint up, one option is to use SageMaker Processing to run a job that takes your trained model and test dataset as input, performs inference and computes evaluation metrics, and saves them to S3 in a JSON file.

This Jupyter notebook example steps through (1) preprocessing training and test data, (2) training a model, then (3) evaluating the model

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.