Reader small image

You're reading from  Machine Learning Engineering on AWS

Product typeBook
Published inOct 2022
PublisherPackt
ISBN-139781803247595
Edition1st Edition
Tools
Right arrow
Author (1)
Joshua Arvin Lat
Joshua Arvin Lat
author image
Joshua Arvin Lat

Joshua Arvin Lat is the Chief Technology Officer (CTO) of NuWorks Interactive Labs, Inc. He previously served as the CTO for three Australian-owned companies and as director of software development and engineering for multiple e-commerce start-ups in the past. Years ago, he and his team won first place in a global cybersecurity competition with their published research paper. He is also an AWS Machine Learning Hero and has shared his knowledge at several international conferences, discussing practical strategies on machine learning, engineering, security, and management.
Read more about Joshua Arvin Lat

Right arrow

Preparing the pre-trained model artifacts

In Chapter 6, SageMaker Training and Debugging Solutions, we created a new folder named CH06, along with a new Notebook using the Data Science image inside the created folder. In this section, we will create a new folder (named CH07), along with a new Notebook inside the created folder. Instead of the Data Science image, we will use the PyTorch 1.10 Python 3.8 CPU Optimized image as the image used in the Notebook since we will download the model artifacts of a pre-trained PyTorch model using the Hugging Face transformers library. Once the Notebook is ready, we will use the Hugging Face transformers library to download a pre-trained model that can be used for sentiment analysis. Finally, we will zip the model artifacts into a model.tar.gz file and upload it to an S3 bucket.

Note

Make sure that you have completed the hands-on solutions in the Getting started with SageMaker and SageMaker Studio section of Chapter 1, Introduction to ML Engineering...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Machine Learning Engineering on AWS
Published in: Oct 2022Publisher: PacktISBN-13: 9781803247595

Author (1)

author image
Joshua Arvin Lat

Joshua Arvin Lat is the Chief Technology Officer (CTO) of NuWorks Interactive Labs, Inc. He previously served as the CTO for three Australian-owned companies and as director of software development and engineering for multiple e-commerce start-ups in the past. Years ago, he and his team won first place in a global cybersecurity competition with their published research paper. He is also an AWS Machine Learning Hero and has shared his knowledge at several international conferences, discussing practical strategies on machine learning, engineering, security, and management.
Read more about Joshua Arvin Lat