Course map
Stage 1: Foundations
Stage 2: Machine Learning
Stage 3: Deep Learning
Stage 4: LLMs & Generative AI
Stage 5: Production & Specialization

Part 12 / Topic 6 of 6

Pretraining and fine-tuning

Training a big transformer from scratch needs data and compute almost no one has. The field's answer: pretrain once on a general task over huge data (for LLMs: next-token prediction — Part 13), then adapt the result cheaply:

  • Fine-tune some or all weights on your labelled data (Track C — including the honest case where it loses to training from scratch).
  • Prompt the pretrained model directly (Stage 4's whole business).

This split — expensive general pretraining, cheap specific adaptation — is why the last decade of AI compounded instead of restarting per task.

Done here? The practice set for Part 12 — 4 exercises with solutions — is on the part page.

Search the guide