Skip to content

Tutorials

Hands-on material you can use right away: prompting techniques, workflows, tool usage and lessons learned.

85 picksLast 30 days 41 itemsCollected 515 items

New

Picks archive · page 3

11/3TuePage 41–60 items
  1. Hugging Face Blog77

    Hugging Face Proposes Model Integration Contracts for Transformers

    Hugging Face proposes transformers-mic, a standard for testing Transformers models with small fixtures, runnable usage examples, and human reviewed output baselines. Replaying frozen contracts across five months of commits showed that a UMT5 fixture caught an SDPA regression from July 30 until its fix on September 28; the selected T5 contract's runner step took 13.4 seconds on CPU. As of November 1, the CI job reports failures without blocking pull requests.

10/31Sat
  1. AWS Machine Learning Blog65

    Preview web apps live as your coding agent builds them with Amazon Bedrock AgentCore runtime

    This AWS walkthrough shows how to preview a Vite website live while a coding agent edits it inside an Amazon Bedrock AgentCore runtime session. Session endpoints provide authenticated access to allowed ports, while a local endpoint adds credentials and forwards browser requests and WebSocket connections for updates without a refresh. The tutorial also demonstrates accessing a second port and explains authentication, rejected requests, and session lifetime limits.

  2. AWS Machine Learning Blog77

    Configure the ChatGPT desktop app with Amazon Bedrock in AWS GovCloud (US)

    AWS explains how to configure the ChatGPT desktop app so Codex routes model requests through Amazon Bedrock Mantle in us-gov-west-1. The walkthrough combines API-mode sign-in, administrator-controlled requirements.toml, config.toml, a named AWS profile, and network restrictions that permit the approved Bedrock endpoint. It covers authentication precedence, provider verification, troubleshooting, and rollback, while emphasizing that organizations must review the deployment through their own security authorization process.

10/30Fri
  1. AWS Machine Learning Blog61

    How MoEngage turned over 400 APIs into agent tools with AgentCore Gateway

    MoEngage explains how it used Amazon Bedrock AgentCore Gateway to expose roughly 400 private API operations as permission-scoped tools for 10 internal agents across seven AWS Regions. The architecture combines OpenAPI specifications, server-side Cedar policies, private connectivity, and semantic tool discovery while keeping identity out of model-visible arguments. MoEngage estimates it saved approximately six months of engineering effort and reduced API onboarding from days to hours.

  2. AWS Machine Learning Blog68

    Configure AWS Batch quota sharing for SageMaker Training jobs across teams

    AWS explains how to configure quota management for SageMaker Training jobs using AWS Batch and the SageMaker Python SDK v3. The walkthrough sets up three quota shares with LEND_AND_BORROW, LEND, and RESERVE strategies, then demonstrates reclaiming lent capacity through cross-share preemption. It also shows how updating a submitted job’s priority can trigger in-share preemption so higher-priority work runs sooner.

  3. AWS Machine Learning Blog70

    Deploy NVIDIA Nemotron Models on Amazon EKS and SageMaker HyperPod EKS

    AWS explains how to deploy NVIDIA Nemotron 3.5 Super VL on Amazon EKS, EKS Auto Mode, and SageMaker HyperPod EKS using NVIDIA Dynamo and vLLM. The guide covers the model’s 120B total parameters and 12B active parameters per token, deployment architecture, and validation on B200 and H200 instances. It also shows how to use aiperf concurrency sweeps to compare aggregated and disaggregated deployments and plan capacity against latency targets.

10/29Thu
  1. AWS Machine Learning Blog67

    Building an Agentic AI Platform on Amazon Bedrock AgentCore

    AWS presents an architecture and reference blueprint for building an enterprise agentic AI platform on Amazon Bedrock AgentCore, separating central governance from isolated, team-owned Workstream cells. Distinct inference and tool gateways govern access, while deployment pipelines require runtime evaluations, adversarial boundary tests, human approval, and rollback evidence before production promotion. The reference implementation targets eu-west-1 (Ireland); other Regions or substituted components require their own validation.

10/28Wed
  1. AWS Machine Learning Blog73

    How Exowatt outperformed frontier models on specific tasks with SageMaker serverless customization

    Exowatt used Amazon SageMaker AI serverless model customization to fine-tune Qwen3-1.7B for edge alarm triage and Qwen3-14B for cloud energy-market analysis. The models achieved 0.911 and 0.975 macro-F1 on their respective tests, outperforming the reported frontier baselines. Its reusable pipeline combines curated data, checked paraphrases, fine-tuning, and evaluation, supporting offline CPU deployment at the edge and cloud inference at $0.60 per 1,000 answers versus $29.26 for Claude Opus 4.7.

  2. AWS Machine Learning Blog63

    How Property Finder fixed evaluation bias to compare models on Amazon Bedrock

    Property Finder discovered that 96.8 percent of its evaluation labels came from its incumbent model, biasing comparisons with alternatives. The team built expert annotations and optimized prompts, selecting Llama 4 Maverick 17B Instruct on Amazon Bedrock with an estimated 86 percent cost reduction. On 356 images, Micro F1 reached 0.80 versus the incumbent’s 0.56, but the evaluation included development images and tuning effort differed, making the scores optimistic.

10/27Tue
  1. AWS Machine Learning Blog72

    Guide to prompt caching for AI agents using OpenAI models on Amazon Bedrock

    Claudio Mazzoni explains how to combine implicit caching for growing conversations with explicit breakpoints for shared tools and instructions when using OpenAI models on Amazon Bedrock. The guide covers preserving cache reuse across tool changes, subagents, and sessions, plus monitoring cache reads and writes. In a six-turn GPT-6 Astra workload, implicit caching lowered input cost by about 62 percent, while explicit rolling breakpoints saved about 61 percent.

  2. AWS Machine Learning Blog62

    Build agentic retrieval on a Managed Amazon Bedrock Knowledge Base with CDK

    AWS demonstrates how to build agentic retrieval across two Managed Amazon Bedrock Knowledge Bases using a Python AWS CDK application. The solution connects a reasoning agent through AgentCore Gateway to separate financial and weather retrieval tools, with cited answers, two CloudWatch dashboards covering seven telemetry layers, and on-demand and continuous evaluation. The walkthrough covers deployment, testing, observability, evaluation sampling costs, and cleanup.

10/24Sat
  1. AWS Machine Learning Blog73

    Multi-Turn Reinforcement Learning on Amazon SageMaker AI: A Hands-On Guide

    AWS provides an end-to-end guide to multi-turn reinforcement learning on Amazon SageMaker AI using a Wordle agent hosted on Amazon Bedrock AgentCore. Training improved gpt-oss-20b’s held-out solve rate from 61 to 84 percent at serving settings, costing about $339 in training tokens and $79 in runtime usage. The walkthrough covers deployment, reward design, monitoring, evaluation, and failures encountered during training.

10/23Fri
  1. Hugging Face Blog73

    Turning Database Grading into RL Rewards: Post-Training Agents with ThinkingBox

    Microsoft and Hugging Face released ThinkingBox-Training on GitHub, turning executable checks of final database states into rewards for agent post-training. After 50 GRPO steps on 187 tasks outside ThinkingBox-Bench, Qwen3.8-27B’s average benchmark success rose from 51.70% to 60.78%, and tasks passed on all 20 attempts increased from 38 to 107, while tasks solved at least once fell from 453 to 446. The release includes task selection, rollout, reward, and Verl integration code; the reported run’s private training pool is not included.

  2. AWS Machine Learning Blog72

    Stream low-latency speech from AI agents using Kokoro TTS on Amazon SageMaker AI

    AWS demonstrates how to stream completed sentences from an AI agent to Kokoro-82M on Amazon SageMaker AI so speech synthesis begins before the full response is generated. Its tests reduced mean time to first audio byte from 329.3 ms to 156.7 ms in isolation and measured 3.5 times faster first audio through the deployed AgentCore runtime. The guide covers persistent bidirectional sessions, binary WebSocket frames, and audio transport tradeoffs involving SSE and base64.

  3. AWS Machine Learning Blog60

    Stop guessing auto scaling targets for TTS on Amazon SageMaker AI

    AWS engineer Joseph Cottingham demonstrates how to derive Amazon SageMaker AI auto scaling settings for Kokoro-82M from measured concurrency limits and scale-out time. The walkthrough measures Q_max=50 against a 3,000 ms p95 time-to-first-audio-byte SLO and plans around 320.2 seconds for scale-out, including bounded policy detection lag. Its tooling derives thresholds and cooldowns, checks deployment consistency, and flags limited surge headroom and scale-in instability with a minimum of 1 instance.

10/22Thu
  1. AWS Machine Learning Blog70

    Train Qwen3 on AWS Trainium with torchtitan

    AWS provides a guide to training Qwen3 with torchtitan on a single trn2.48xlarge using Transformers v5, torchtitan’s native Qwen3 implementation, and NKI mixture-of-experts kernels. The configurations share a torchrun launch pattern and configuration structure, with examples for loading and saving Hugging Face checkpoints. The guide also demonstrates custom kernel registration and autograd integration, explicitly presenting that example as an integration demonstration rather than a performance improvement.

10/21Wed
  1. Hugging Face Blog78

    Protein Design with RFD4-Proteina and Hugging Face Spaces

    This guide shows how to generate protein designs with RFD4-Proteina in Hugging Face Spaces and continue the workflow through the command line, Python, or Diffusers. Co-developed by NVIDIA and the University of Washington's Institute for Protein Design, the open model generates protein sequences and all-atom structures together under supplied constraints. The guide covers hotspot annotations, thinking settings, and reproducibility using a PD-L1 binder example; experimental validation is needed to confirm binding.

  2. AWS Machine Learning Blog66

    Training and serving i14’s Laplace 3B on AWS Trainium2 with native PyTorch

    i14 and AWS explain how they adapted Laplace 3B’s linear attention architecture for training and serving on AWS Trainium2 using native PyTorch through TorchNeuron Native. The model maintains a fixed 29.5 MB recurrent state per sequence and reached roughly 120,000 training tokens per second, with results reported through about 44 billion tokens. Inference reached 11,544 output tokens per second across 1,280 concurrent sequences on one trn2.48xlarge instance.

  3. AWS Machine Learning Blog64

    Building conversational supply chain intelligence with Amazon Quick and Amazon Bedrock AgentCore

    AWS explains how to build conversational supply chain workflows using Amazon Quick and Amazon Bedrock AgentCore, connecting operational data and documents through governed MCP tools. The walkthrough covers disruption assessment, supplier compliance checks, emergency RFQs, and scheduled or email-driven monitoring, with human approval for changes. It includes an open-source deployment example, registry and connector configuration, and instructions for posting validated supplier responses to the Activity Feed for review.