STT from Scratch
Build a speech recognizer in PyTorch, from raw audio to spoken digits. 27 hands-on lessons. Train on your CPU.
Basic Python and PyTorch required. Adaptation and streaming come next.
Unit 1
Audio Foundations
Read recordings, inspect spectral features and separate channel simulation from real-call evidence.
Unit 2
Training Data
Define digit targets, preserve source identity and split speakers before constructing sequences.
Unit 3
First Recognizer
Build an eleven-token CTC recognizer from random weights. Trace frames, blanks and decoded strings.
Unit 4
Training Experiments
Run the experiment, inspect blank outputs and select a checkpoint using validation evidence.
Unit 5
Recognition Evaluation
Score digit edits and complete identifiers, then inspect paired noise probes and saved predictions.
Unit 6
Model Improvements
Compare decoding strategies and design controlled biasing and pretrained-adaptation experiments.
Unit 7
Streaming Recognition
Audit future context, replay actual prefix revisions and distinguish compute time from serving latency.
Want the whole voice stack running in your own cloud, speech models included?
Self-Hosted Voice Agent