// Stage 5 · Post-training, Alignment & Reasoning Models
Instruction Tuning & PEFT
SFT, synthetic data, LoRA/QLoRA/DoRA, adapters and model merging.
about 10 hours8 algorithms3 paperslesson text ready
01Goals
- Prepare high-quality SFT data
- Fine-tune a 7B model with LoRA/QLoRA
- Evaluate the difference before and after fine-tuning
Do these first: Pretraining, Data & Scaling Laws
02Read on this site
03Algorithms to master
Each card has the original paper, prerequisites and resources.
04Must-read papers
- Finetuned Language Models Are Zero-Shot Learners ↗2021 ✓ verified in Essentials
- LoRA: Low-Rank Adaptation of Large Language Models ↗2021 ✓ verified in Essentials
- QLoRA: Efficient Finetuning of Quantized LLMs ↗2023 ✓ verified in Essentials
05Courses & videos
- huggingface.co ↗Official docsEN
- huggingface.co ↗Official docsEN
- unslothai/unsloth ↗Reference codeEN
- mlabonne/llm-course ↗Reference codeEN
06Hands-on: project, code & exercises
Free, official or author-published pages. Most run in the browser or on a free Colab GPU.
PROJECT
Use QLoRA on a single GPU to fine-tune an open 7B/8B model into a specific style (e.g. customer-service replies) and run a blind comparison.
- 1unslothai/unsloth ↗Reference code
LoRA/QLoRA-fine-tune a small model with the official free Colab notebooks.
- 2
- 3
07Self-test
Answer in your head, then open to check.
Which parameters does LoRA train?
Low-rank matrices A and B; the original weights stay frozen.
Which 4-bit format does QLoRA use?
NF4.
When should you use RAG instead of fine-tuning?
When knowledge changes often or answers must cite sources.
On these routes: Application Developers · Algorithm Researchers · Domain Scientists