Training and Fine-Tuning Foundation Models
Key training elements (named in the guide; general background)
| Element | Data | Purpose |
|---|---|---|
| Pre-training | Massive unlabelled data (self-supervised) | General knowledge and language |
| Continued pre-training | Large unlabelled domain data | Absorb a domain's vocabulary (medical, legal, finance) |
| Fine-tuning | Smaller labelled prompt → response examples | Specific task, format or style |
| Distillation | Prompts answered by a large teacher model | Train a smaller student to match it |
Fine-tuning methods (named in the guide)
- Instruction tuning: train on instruction → response pairs so the model follows instructions better.
- Domain adaptation: adapt to a field's language and tasks.
- Transfer learning: reuse what a model already learned and train only for the new task. Fine-tuning is a form of transfer learning.
- Continued pre-training: more self-supervised training on domain text.
- Reinforcement fine-tuning on Bedrock (verified): define reward functions (e.g. in AWS Lambda) that score responses; the model learns from the scores, no labelled pairs needed.
- RLHF: human rankings train a reward model that guides the FM (general background).
Preparing fine-tuning data (named in the guide; design guidance)
| Factor | Practice |
|---|---|
| Data curation | Clean, deduplicated, correct examples |
| Governance | Rights to use the data; remove personal data you can't use |
| Size | Enough examples to cover the task; quality beats quantity |
| Labelling | Accurate, consistent labels (human labelling workflows; SageMaker Ground Truth is now closed to new customers) |
| Representativeness | Cover the real range of inputs and users, to avoid bias |
| RLHF | Human preference data for alignment |
On Bedrock, fine-tuning uses labelled data in JSONL and creates a private copy of the base model (verified, Bedrock docs and FAQ).
Exam traps
- Fine-tuning on unlabelled data. Supervised fine-tuning needs labelled pairs; unlabelled domain data is continued pre-training.
- More data always wins. Biased or noisy data makes the model worse.
- Fine-tuning to add fresh facts. Use RAG (20).
References
- Bedrock model customization — checked Oct 19, 2026
- Bedrock fine-tuning — checked Oct 19, 2026
- Bedrock FAQs — checked Oct 19, 2026
- AIF-C01 Domain 3 — checked Oct 19, 2026
Check your understanding
A hospital has millions of unlabelled clinical notes and wants the model to understand medical terms. Method?Show answerHide answer
Answer
Continued pre-training (domain adaptation).2,000 example question → ideal answer pairs. Method?Show answerHide answer
Answer
Supervised fine-tuning (instruction tuning).Which data property prevents a model from serving only one region's customers well?Show answerHide answer
Answer
Representativeness.