Lesson 13 / Unit 4: Training Experiments
Learning Curves
Read loss and decoded errors together, including the blank-output phase at the start of training.
At epoch one, training loss was about 4.59 and validation digit error rate was 100%. At epoch eight, loss had fallen to about 2.04, but that error rate was still 100%. The model was changing without yet producing useful greedy transcripts.
Inspect Progress
| Epoch | Train loss | Validation digit errors |
|---|---|---|
| 1 | 4.5878 | 100.0% |
| 8 | 2.0425 | 100.0% |
| 12 | 1.1195 | 82.1% |
| 23 | 0.0850 | 32.5% |
| 40 | 0.0048 | 36.3% |
| 60 | 0.0019 | 36.3% |
The table comes from the saved run, not a hand-shaped demonstration curve. The same validation set is evaluated after every epoch. A lower training loss alone cannot tell you whether a caller’s identifier will be correct.
Blank Outputs
Early CTC training can put enough probability on blank that the greedy path collapses to an empty string. The loss can still improve as probability mass changes among paths. Keep empty outputs in both error calculations and qualitative review.
To inspect the relationship yourself:
import jsonhistory = json.load(open('my-run/history.json'))for row in history: print(row['epoch'], row['train_loss'], row['validation_der'])Generalisation Gap
By the final epoch, training loss was about 0.0019 while validation digit error rate was 36.25%. That gap is a warning about this small training setup and its held-out speaker, not proof of one single cause. Data diversity, augmentation and architecture are hypotheses to test separately.
A smooth loss curve is especially unhelpful if the target policy or split is wrong. Review Transcript Policy and Speaker Splits before interpreting an apparent improvement.
Your deliverable is a short note identifying an epoch where loss and useful decoding disagree. Next, apply an explicit Checkpoint Selection rule rather than choosing the prettiest curve.
We do this work for teams shipping voice agents: Self-Hosted Voice Agent .
Edit this lesson on GitHub ↗Discussion
Questions, corrections and war stories welcome. Sign in with GitHub to comment.