Training & Fine-Tuning
Unlock the complete study guide + 1,040 practice questions across 16 full exams.
Bundled into the existing AWS Certified AI Practitioner AIF-C01 premium course — no separate purchase.
Included in this chapter:
- The training spectrum: from scratch to surgical
- Data prep and the AWS mechanics of customization
- Decide: fine-tune vs RAG vs prompt engineering
FM customization approaches compared
| Aspect | Pre-training | Fine-tuning | Continued pre-training | RAG |
|---|---|---|---|---|
| Changes model weights? | Yes, creates the model from scratch | Yes, adjusts existing weights | Yes, adjusts existing weights | No, adds context at inference time |
| Data needed | Vast, broad, mostly unlabeled corpus | Smaller labeled task-specific examples | Large unlabeled domain-specific text | External knowledge source / documents to retrieve |
| Cost | Extremely high (rarely done by customers) | Moderate; per-token training + model storage | Higher than fine-tuning; per-token training + storage | Low one-time setup; pay per retrieval and tokens |
| Best for | Building a new foundation model | Specialized tone, format, or task behavior | Deepening knowledge of an entire domain | Keeping answers current with changing or proprietary facts |
Decision tree
Cheat sheet
Unlock with Premium — includes all practice exams and the complete study guide.
References
- What are Foundation Models?
- Customize models in Amazon Bedrock with your own data using fine-tuning and continued pre-training Blog
- Custom models, Amazon Bedrock
- Model distillation, Amazon Bedrock
- What is Transfer Learning?
- Customize your model to improve its performance, Amazon Bedrock
- Guidelines for model customization, Amazon Bedrock
- What is RLHF (Reinforcement Learning from Human Feedback)?
- Prepare the datasets, Amazon Bedrock
- Train a model with Amazon SageMaker AI
- Train models, Amazon SageMaker AI
- Amazon Bedrock pricing
- Knowledge Bases, Amazon Bedrock