Day 4 — Fine-tune, measure, ship
Goal: by this evening, you have built, measured and presented something you would actually use.
- Schedule
- The one idea
- Fine-tuning: decide before you train
- Capstone requirements
- Presenting (5 minutes)
- Checkpoint
- After the workshop
- Background reading
No GPU? Every notebook below opens in Google Colab with one click.
Schedule
| Time | Activity | Notebook |
|---|---|---|
| 0:00–1:30 | LoRA fine-tuning — and when not to | 11_finetuning_lora |
| 1:30–2:00 | Capstone briefing; pick your project | 12_capstone_daily_assistant |
| 2:00–4:30 | Build. Instructors circulate. | 12 |
| 4:30–5:00 | Evaluate: at least 10 test cases, scored | 12 |
| 5:00–6:00 | Demos — 5 minutes each | — |
Still hungry? There is an optional fifth day on how training works from the inside: notebooks 13–16 pre-train a model from scratch, build a dataset properly, implement the DPO loss and teach you to read a loss curve. Notebook 11 showed you how to run a fine-tune; that track is about understanding one.
The one idea
Anyone can demo an LLM. The engineering is in measuring it and being honest about where it fails.
Fine-tuning: decide before you train
Work down this list and stop at the first yes:
- Can a better prompt fix it? → do that.
- Is the problem missing knowledge? → RAG.
- Do you need structured output? → constrained decoding.
- Does it need to do things? → tools.
- Do you need a consistent style or format that prompting cannot hold? → now fine-tune.
The most common mistake in industry is fine-tuning to inject company knowledge. It half-works, cannot cite sources, and must be redone every time a document changes. Use RAG.
If you have no GPU, open notebook 11 in Colab, or read it through and run only the data-preparation sections. Understanding when to fine-tune matters more than having run a training loop once.
Capstone requirements
Marked against the capstone rubric — 100 points, weighted so that evaluation and honesty together outweigh the implementation.
All four are required:
| # | Requirement | Evidence |
|---|---|---|
| 1 | A local open-weight model | it runs with no API key |
| 2 | ≥3 tools, or RAG over your own documents | schemas or an index |
| 3 | An agent loop or an explicit chain | a trace of a multi-step run |
| 4 | An honest evaluation | ≥10 test cases, with a score |
Plus a README: what it does, how to run it, what it gets wrong, and what you would do next.
What earns marks
- It runs. A working demo beats an elegant design that does not.
- You measured it. A humble number beats “it seems good”.
- You know its limits. Naming a real failure scores higher than hiding it.
- Sensible engineering. Validated tools, a step limit, no
eval.
What does not earn marks
Model size, framework choice, UI polish, or the number of features you crammed in.
Presenting (5 minutes)
- The problem (30s) — something the room recognises.
- Live demo (2m) — run it. Record a backup in case the wifi dies.
- How it works (1m) — one diagram: model, tools, loop.
- Your numbers (1m) — the evaluation, including what failed.
- Honest limits (30s) — what you would not trust it with.
Point 5 is what distinguishes an engineer from a demo.
Checkpoint
- Give the five-step decision list before fine-tuning.
- What does LoRA learn, and why is it so much cheaper than full fine-tuning?
- How would you detect catastrophic forgetting?
- What is in your capstone evaluation, and what did it score?
- Name three things your capstone gets wrong.
After the workshop
You now have the foundations. Where next has the paths forward — multimodal models, MCP, better retrieval, evaluation at scale.
The most valuable habit to keep: read the model cards and technical reports. They are more accurate and more current than any tutorial, including this one.
Background reading
How LLMs are trained — the handbook chapter behind today’s material.