Skip to main content

Week 10 Formal lab: Lab 3 — Train and Verify a Specialist

Turn a task contract into valid training and evaluation records, build a verifier before training, and test one shifted slice and one retained capability

3 May 2027 · Formal lab

Estimated active time: 120 minutes · Notebook: lab-03-specialist-verifier.ipynb — released Monday 3 May 2027 at 09:00 AET · Solution release: after the final scheduled Lab 3 class.

Learning goals

Preparation

Choose Project 3 Track A or B and bring the approved/standard task definition. Track B students run the repository’s test_pilot format check; Track A students bring the approved automatic metric and human-rating anchors. Load the unchanged starting checkpoint in a fresh process.

Activity

  1. Read it: write the input contract, allowed output, validity gate, primary metric, out-of-scope conditions, and one regression metric.
  2. Run it: create a template/source-aware split and run the contamination validator. Implement or configure answer extraction and format checking before training.
  3. Inspect it: render two training examples and their target masks. For Track B, compare a direct answer with a short-rationale record; for Track A, compare a valid and deliberately invalid output under the task constraints.
  4. Change one thing: perform a bounded pilot comparison with one controlled difference, such as target format, data mixture, or learning rate. Do not combine several changes.
  5. Transfer it: evaluate unchanged and pilot checkpoints on in-template validation, one shifted slice, and one retained-capability prompt. Save a loadable pilot package.

Expected output

The spec

What you bring to the session. Written so a reader can tell whether it has been met without asking you.

Teaching team