Skip to content
Tech Atlas, home
Search
Esc
  • All roadmapsBrowse every learning path
  • ExploreFind a technology area
  • ProjectsGuided projects and builds
  • My AtlasYour learning dashboard
Skill

LLM Fine-Tuning

Decide when fine-tuning an LLM is warranted, adapt an open-weight model with parameter-efficient supervised fine-tuning, and prove the gain on held-out evaluations.

Advanced1 roadmap

4 objectives 6 steps about 135 min

Learn it step by step

Read the lessons in order, try the practice checks, then prove the skill with the knowledge check.

Start learning

This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.

Learning objectives

  • Decide between prompting, retrieval and fine-tuning for a use case using a baseline evaluation, available data, cost and maintenance burden as criteria.
  • Prepare an instruction or chat dataset in the model's chat template with deduplication, train/validation splits and loss masking on prompt tokens.
  • Run supervised fine-tuning with LoRA or QLoRA within a GPU memory budget, choosing rank, alpha, target modules and learning rate, and explain how preference tuning such as DPO differs.
  • Evaluate the tuned model against the base model on held-out task metrics plus a regression check of general behaviour, then merge or serve the adapter.

Lesson plan

6 steps, about 135 min · 5 of 5 lessons available so far

Practise it

Fine-tune a small open-weight instruct model (roughly 1-4B parameters) with QLoRA for a narrow task such as JSON field extraction, report exact-match and schema-validity on a held-out set against few-shot prompting of the base model, check a small general-ability set for regressions, and publish the adapter with a model card.

Build it from scratch

Practice builds that exercise this skill by re-creating a real technology.

Browse 2 tutorials that practise it

References

Hard prerequisites

Unlocks

Nothing depends on this skill yet.

On these roadmaps

Progress and evidence for this skill are shared across all of them.