Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Machine Learning Engineering on AWS
  • Table Of Contents Toc
Machine Learning Engineering on AWS

Machine Learning Engineering on AWS - Second Edition

By : Joshua Arvin Lat
close
close
Machine Learning Engineering on AWS

Machine Learning Engineering on AWS

By: Joshua Arvin Lat

Overview of this book

Recent advancements in generative AI, large language models (LLMs), Retrieval-Augmented Generation (RAG), and AI agents have created a soaring demand for machine learning engineers who can build, manage, and scale modern AI-powered systems. To stay ahead in this rapidly evolving AI landscape, you need a deep theoretical understanding as well as hands-on expertise with the right tools, services, and platforms. Machine Learning Engineering on AWS is a practical guide that teaches you how to harness AWS services such as Amazon Bedrock and the next generation of Amazon SageMaker to build, optimize, and manage production-ready ML systems. You’ll learn how to build RAG-powered GenAI applications, automate LLMOps workflows, develop reliable and responsible AI agents, and optimize a managed transactional data lake. The book also covers proven deployment and evaluation strategies for dealing with various models, along with practical examples to help you manage, troubleshoot, and optimize ML systems running on AWS. Guided by AWS Machine Learning Hero Joshua Arvin Lat, you’ll be able to grasp complex ML concepts with clarity and gain the confidence to operationalize and secure GenAI applications on AWS to meet a wide variety of ML engineering requirements.
Table of Contents (9 chapters)
close
close
Lock Free Chapter
1
Machine Learning Engineering on AWS, Second Edition: Operationalize and optimize generative AI systems and LLMOps pipelines in production

Running and debugging a custom SageMaker Processing script

At this point, you might be wondering how to write and run custom processing scripts! In this section, we will do exactly that and you'll learn how to troubleshoot and debug these scripts as well.

This section is divided into the following subparts:

  • Running a basic SageMaker Processing script
  • Debugging a failed processing job
  • Running a processing job that counts the number of tokens of each statement

Running a basic SageMaker Processing script

Let's start by running a basic SageMaker Processing script:

  1. Download the run_processing_job.py script file:

    DIR_PATH=https://raw.githubusercontent.com/PacktPublishing/Machine-Learning-Engineering-on-AWS-Second-Edition/refs/heads/main/chapter06
    SCRIPT_PATH=$DIR_PATH/run_processing_job.py
    wget $SCRIPT_PATH -O run_processing_job.py
  2. Download the hello_world...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Machine Learning Engineering on AWS
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon