How to teach models with few-shot examples and counterexamples

Study Exempla, choosing examples that steer format and judgment without overfitting with zero-shot, one-shot, few-shot, exemplars.

  • Difficulty Intermediate
  • Parts 10
  • Stack zero-shot, one-shot, few-shot, exemplars

What you are learning

Exempla is choosing examples that steer format and judgment without overfitting. The teaching focus is Few-shot (zero-shot, one-shot, few-shot, exemplars).

Work in order. Early parts set vocabulary and environment; later parts assume the earlier checkpoints.

How to use these lessons

Read the goal, open the matching GitHub folder, complete the lab or exercises, then return for the explanation. If a command fails, check you are in the numbered folder first.

Open the Exempla GitHub repo โ†’

Parts in order

Each chapter below is one checkpoint in this track.