Back to directory

Generative AI using Amazon SageMaker

A collection of end-to-end SageMaker notebooks and config-driven recipes covering generative-AI model training, fine-tuning, inference optimization, MLOps automation, distributed training, RAG, and agent-based applications.

Generative AI using Amazon SageMaker

This repository provides hands-on SageMaker AI implementations spanning the generative-AI lifecycle, from foundational concepts to enterprise-scale deployment. Its model-customization recipes let a user pick one of more than 20 pre-configured foundation models, including Llama, Qwen, DeepSeek, Gemma, Phi, and GPT-OSS, choose a fine-tuning strategy such as QLoRA, Spectrum, or full fine-tuning, and launch a SageMaker training job, with the recipe generator handling dataset formatting, adapter merging, and evaluation automatically.

Beyond the config-driven recipes, deeper hands-on notebooks cover distributed training strategies such as DDP, FSDP, and DeepSpeed ZeRO-3, reinforcement-learning methods such as DPO and GRPO using several specialized frameworks, and diffusion-model fine-tuning such as DreamBooth LoRA for image generation.

Additional material covers retrieval-augmented generation, intelligent agents, and real-world industry applications built on SageMaker.

More in Models

See all 405
  • mini-AGI

    github.com

    A continual learning language model that trains from scratch on a single 8 GB VRAM GPU, assembling its own architecture and adapting its size to the hardware and data available rather than shipping as a fixed pretrained model.

  • An open-source contrastive-embedding pipeline that maps technical CVE vulnerability descriptions to formal cybersecurity compliance controls in NIST SP 800-53 and CMMC, published with its model generation, fine-tuning and evaluation code.

  • peekaboolean

    github.com

    A small vision-language model, fine-tuned with LoRA on a 500-million-parameter backbone, that answers typed multiple-choice, ordinal-score and yes/no questions about an image with calibrated probabilities, in about 400 milliseconds on a laptop.