--- # edu-jybf title: 'Write §11: Exercise 4 — train on a small text corpus' status: todo type: task created_at: 2026-03-13T22:02:04Z updated_at: 2026-03-13T22:02:04Z parent: edu-u2w7 --- Use a small public-domain text (e.g. Shakespeare's sonnets or a children's book). Show data loading, batching with random windows, training loop, loss curve. Reader runs training and watches loss fall.