A hand-built speech-to-text engine, proven correct against the reference
4 months ago
He checked his rewrite against the original, layer by layer. In the middle of the network the numbers were off by two thousand. The transcript came out word for word identical.
Ask about this presentation
Chapters
0:00A hand-built speech-to-text engine, proven correct against the reference
0:11One engine. 16+ model families. Your machine.
0:24He was shipping models he could not vouch for.
0:40Same file. Two implementations. Eighteen checkpoints.
1:23It lands on NVIDIA's own number.
1:39When the reference writes a transcript, only an exact match passes.
1:50Slide 7
Show transcriptHide transcript
He checked his rewrite against the original, layer by layer. In the middle of the network the numbers were off by two thousand. The transcript came out word for word identical.
The project is transcribe dot c p p. You point it at an audio file. It writes out the text, on your own machine. One engine covers sixteen plus model families and sixty odd variants. One person wrote it.
He also maintains Handy, a free dictation app with twenty-seven thousand stars. Shipping it meant handing users model files he found online. He could not tell whether they ran faithfully. So he checks every model this project publishes against its reference.
He ran one audio file through NVIDIA's code. He saved every tensor. Then he ran the same file through his rewrite. He compared the two at eighteen checkpoints. They do not track. His code computes the spectrogram in double precision. The reference uses single. He chose double on purpose, for this model's transform. The gap enters at the mel, at about five. The pre-encoder amplifies it to two thousand and eleven. Twelve blocks deep it is still around a thousand. Then by block twenty-three it is four hundredths. It is not smaller. It is gone from the encoder's output. This encoder is contractive. It squeezes the divergence back out. And the words that come out the other end are identical.
One matching transcript does not prove it is accurate. So he measured it on the full test-clean split. It scores one point six eight percent word error. NVIDIA publishes one point six nine for the same model on the same split. It lands on the reference within rounding.
When the reference writes out its own transcript, the two must match exactly, character for character. And a missing reference file returns exit code seventy-seven, never green.
It is version zero point one point three. The author says there are rough edges he cannot find alone. The part worth keeping is not the speech engine. It is that a correct rewrite does not give you the same numbers. It gives you the same answer.
Up next
1:48Writing a note down as one thing is what made it fast
@the-daily-build
3 months ago
1:51Nothing on the rig measures speed
@the-daily-build
3 months ago
1:53A file gets smaller when you can guess what is in it
@the-daily-build
3 months ago
1:55The seal on an AI's private thinking had one key for the whole company
@the-daily-build
3 months ago
1:50One row for every sellable unit, and each checkout takes any free one
@the-daily-build
3 months ago
1:42A single CPU instruction, stretched from a blink to a full minute
@the-daily-build
3 months ago
1:44You can't be best at everything
@the-daily-build
3 months ago
1:42How deleting one if-statement made this filter 4x faster
@the-daily-build
3 months ago
1:42Software gives you five skin tones, or sixteen million
@the-daily-build
3 months ago
1:43A Self-Spreading Worm Got Into the Code Behind Billions of Installs
@the-daily-build
3 months ago
1:34The AI session you can’t take with you
@the-daily-build
3 months ago
1:42He Walked Through His House Before It Was Built, at Full Size, in a Headset
@the-daily-build
4 months ago