Introduction to the Foundation Model Customization Lifecycle
Choosing between prompting, RAG and customisation, adapting models with parameter-efficient methods such as LoRA, versioning customised models in SageMaker Model Registry, and deploying, rolling back and retiring them.
- 4 lessons
- Module quiz
Prompting and RAG solve most generative AI requirements without changing the model. Sometimes, however, a model must be adapted: to produce a consistent style or format that prompting cannot achieve reliably, to learn a specialised vocabulary, or to let a small, cheap model match a larger one on a narrow task. Adapting a model's weights with additional training is called customisation, and the most common form is fine-tuning on labelled examples.
Customised models then need to be managed like any other software release. Parameter-efficient methods such as LoRA train small adapters of a few megabytes instead of whole models, which makes training cheaper and allows many variants of one base model. SageMaker Model Registry versions models and records their approval status and lineage, automated pipelines deploy approved versions with rollback, and models are retired and replaced before their base models reach end of life.
What the exam expects
A key distinction is that fine-tuning changes behaviour and style but does not keep a model's knowledge current; RAG does that. Questions also test choosing between Bedrock and SageMaker AI customisation, serving many variants with dynamically loaded adapters, and planning migration before a Bedrock model moves from Active to Legacy and then to end of life.
How this module is organised
Choosing When and How to Customize a Model compares prompting, RAG and the customisation methods in Bedrock and SageMaker AI. Deploying Parameter-Efficient Fine-Tuning Adapters explains how adapters work and how they are served. Versioning and Governing Customized Models with SageMaker Model Registry explains versioning, approval and lineage, and Automating Model Deployment, Rollback and Retirement explains how models are released, reversed and replaced.
- Choosing When and How to Customize a Model Lesson 1
- Deploying Parameter-Efficient Fine-Tuning Adapters Lesson 2
- Versioning and Governing Customized Models with SageMaker Model Registry Lesson 3
- Automating Model Deployment, Rollback and Retirement Lesson 4
- Practise and review
- Checkpoint Practice activities across the module
- Test your knowledge 3 questions