Free How much of your firm runs on you? Take the 2-minute Key Man Score.
Lesson reading
0%

Lesson 15 / Unit 4: Training Experiments

Error Inspection

Listen to actual held-out examples and compare their references with saved model outputs.

The retained model returns some correct digit strings and some incorrect ones. Listen before looking at the prediction, then compare both with the reference. Fluency is not available as a distraction in this tiny vocabulary: each extra or missing digit is visible.

Listen First

Evaluation example 1

Assembled from the held-out speaker’s source recordings. Predict the digit string before reading the table.

Evaluation example 2

The pauses were inserted by the data generator; these are not naturally spoken continuous identifiers.

Evaluation example 3

Audio attribution and exact source filenames are included in the lab download.

ExampleReferenceHypothesis
1183183
2294294
3155
Recorded CPU experiment · custom FSDD speaker split · development evidence. Download source and logs.

Classify Failures

For each mismatch, record whether a digit was substituted, deleted or inserted. Then inspect sequence length, repeated digits and the source audio. A label such as “bad audio” is not enough to suggest an intervention.

import json
results = json.load(open('my-run/results.json'))
for row in results['predictions']:
if row['reference'] != row['hypothesis']:
print(row['files'], row['reference'], row['hypothesis'])

An empty hypothesis stays visible. A wrong string of the expected length is also a failure; length validation cannot recover which digit was spoken.

Keep Comparisons

When you change decoding, save both old and new hypotheses for the same examples. Look for regressions as well as fixes. Reviewing only newly correct cases would bias the narrative.

Move to Word Errors to compute edit rate, then Entity Accuracy to score entire strings. The original STT component guide connects those distinctions to business actions.

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.

Free guide

Be The 10x Entrepreneur

Get the firm out of your head.

  • 8 chapters
  • 7 worksheets
  • 30 day plan