AI tools, scored for your job
Get paid to train AI
🤝 You're in the Free & Open Source library — community-built tools you can use without paying. A different concept from our scored AI directory.
Home › Free & Open Source › Data Science › amazon-sagemaker-examples
✦ Free & open sourceData Science

amazon-sagemaker-examples

Official repository of Jupyter notebooks for building, training, evaluating, deploying, and operationalizing ML models.

Official Jupyter Notebook Examples for Amazon SageMaker

End-to-end code guides for model training, fine-tuning, evaluation, inference, and MLOps on AWS infrastructure.

Free forever · open source · Apache-2.0
✓ Light setup✓ Browser-based✓ Real-time collaboration
8.5
ZEKAI
Essential SageMaker Reference
Free & open source · Data Science
Ease of setup7
Usefulness9
Maintenance9.5
Community8.5
★ 11,014
GITHUB
Oct 2026
UPDATED
Apache-2.0
LICENSE
🛠 Don't want to self-host? We can set it up →
⚡ Quick answer

A curated collection of runnable Jupyter notebooks maintained directly by the AWS SageMaker team. It provides reference code for machine learning practitioners building, fine-tuning, and operationalizing models using the SageMaker Python SDK and SageMaker-Core.

Runs on
Web
Hosting
Cloud or self-host
Languages
Jupyter Notebook
License
Apache-2.0

What it is

The repository organizes self-contained notebooks across the entire ML lifecycle, including distributed training, LLM fine-tuning (SFT, DPO, RLVR), model evaluation, and deployment options like real-time or serverless endpoints. It also demonstrates MLOps capabilities including SageMaker Pipelines, Feature Store, and MLflow tracking.

Who it's for

Suited for data scientists, ML engineers, and AWS architects who build production ML pipelines on AWS. It is not suitable for practitioners looking for cloud-agnostic tools or non-AWS ML infrastructure.

Key features

End-to-End Model Training

Demonstrates script and framework training, distributed compute, managed spot training, and local code submission via the remote decorator.

Foundation Model Customization

Includes recipes for supervised fine-tuning, direct preference optimization, reinforcement learning, and continued pre-training.

Inference & Deployment Strategies

Shows how to configure real-time, serverless, and asynchronous endpoints alongside A/B testing and latency optimizations.

SageMaker-Core SDK Support

Features examples using an object-oriented Python interface with resource chaining, type hints, and automatic state management.

MLOps & Governance Integration

Covers automated pipelines, feature stores, experiment tracking, MLflow integration, and Clarify bias analysis.

How to start

Up and running in 3 steps

1
Provision an AWS account with proper IAM permissions, an S3 bucket, and a SageMaker Notebook Instance.
2
Access the repository notebooks directly inside JupyterLab under the SageMaker Examples tab or clone the GitHub repo.
3
Open your desired notebook category, configure your IAM role ARN, and execute the cells step-by-step.
Real talk

Our honest verdict

What's great

  • Maintained directly by the Amazon SageMaker engineering team to guarantee feature alignment.
  • Covers modern fine-tuning methods including SFT, DPO, and reinforcement learning with verifiable rewards.
  • Includes self-contained notebooks with relative path references, local scripts, and required assets.
  • Demonstrates SageMaker-Core object-oriented interfaces to eliminate low-level API polling logic.

Where it falls short

  • Requires active AWS infrastructure resources, incurring compute, storage, and endpoint hosting costs.
  • Tightly coupled to AWS primitives, offering minimal value if deploying outside the AWS ecosystem.
  • PR contributions are restricted exclusively to novel SageMaker features not already present.
  • Initial setup requires configuring IAM roles, S3 buckets, and SageMaker permissions.
Cost

Pricing & license

The code in this repository is completely free under the Apache 2.0 license. However, running the code requires an AWS account, and you will be billed for all compute instances, S3 storage, training jobs, and hosted endpoints created by the notebooks.

Paid work

Open remote AI-training roles

880 open remote AI-training roles, updated November 16, 2026; most pay $20–$175 an hour. Zekai lists them free; the application goes to the employer’s platform.

See all open roles →
Compare

Alternatives

🎁 Free & open-source alternatives

These reviewed AI tools do the same job instantly — from our scored directory.

Get more

Use it, or have us set it up

📄 Free PDF: amazon-sagemaker-examples for Data Science
A plain-language guide to getting your first result. Sent to your inbox.
🔔 64 people want a full video tutorial — add your vote
🛠 Don't want to set it up yourself?
We'll install, host & configure amazon-sagemaker-examples for you — and train your team.
Get it done for you ↗
Questions

FAQ

Can I run these notebooks on my local workstation?

Yes, provided you install the required Python libraries, configure AWS credentials, and set an active IAM execution role.

What is the difference between this repository and the community repository?

This repository is maintained by the core SageMaker team to showcase official features, while the community repository hosts external solutions and broader reference architectures.

Are the notebooks free to run?

The repository code is free under the Apache-2.0 license, but executing the notebooks provisions paid AWS cloud services such as EC2 instances and S3 storage.

Radar

Latest AI news

✉️ The weekly free toolkit
The best new free & open-source tools for Data Science — one short email a week, in your language.
Free · 1 email/week · unsubscribe anytime
Get paid to train AI →

See Zekai first in Google