Tiny Ear ASR
A 19-million-parameter speech recognizer for phones and laptops:
- Small: about 20 MB as INT8, so it fits on a phone.
- Accurate on clean speech: about 80% of words right (80.6% on LibriSpeech clean). Higher is better.
- Live: it reads speech in 640 ms chunks and writes as you talk, with no waiting for the end of a sentence.
- Finished text: capital letters, full stops, commas, question marks and apostrophes come from the model itself.

Model architecture
Click the diagram to open it at full size.
How the looping works
Each looped group of blocks runs twice in a row with the same weights:
| Looped group | Blocks | Times run |
|---|---|---|
| Group 1 | blocks 2 to 3 | 2 times |
| Group 2 | blocks 7 to 9 | 2 times |
So each chunk of audio goes through 17 block computations (12 + 2 + 3) while storing only 12 blocks of weights. You get the depth of a 17-block model at the size of a 12-block one. A small learned marker tells each block which pass it is on. The number of passes can be changed at run time (1, 2 or 3; it was trained with all three, and 2 is the default and the best in our tests). The ONNX, Core ML, ExecuTorch and TFLite files in this repository have the 2-pass setting built in.
Between chunks the model keeps a short memory of the recent past, which is what lets it stream. It was trained from scratch on open, Creative Commons speech, then fine-tuned for noise, quiet and muffled voices, and silence. Version 1.0, released 2 December 2026.
Highlights
| Looped transformer | 12 stored blocks, two groups run twice, so it computes like a 17-block model at the size of a 12-block one. 19.3M parameters, 20 MB as INT8, 11 MB as FP4 weights. |
| Streaming | Reads 640 ms of audio at a time and writes text as you speak. No waiting for the end. |
| Writes properly | Capital letters, full stops, commas, question marks and apostrophes come from the model itself. |
| Robust | Trained with noise, echo, codecs, pitch and loudness changes. Accuracy drops about 2 points at 5 dB noise and stays usable down to 0 dB. |
| Quiet when it should be | Silence and noise-only clips produced no text in our test. |
| Runs everywhere | PyTorch, ONNX, Core ML, ExecuTorch and TFLite files, from FP32 down to 4-bit. |
| Open | Apache-2.0 weights and code. |
Model overview
| Type | Looped (weight-shared) transformer, streaming transducer speech recognizer: causal FastConformer-style encoder, token-and-duration (TDT) decoder, auxiliary CTC head |
| Parameters | 19.33M |
| Encoder | 12 blocks (width 256, 4 attention heads, feed-forward 640, convolution kernel 9) with rotary position embeddings. Two groups of blocks (2-3 and 7-9) are looped twice with shared weights, so 17 block computations run per chunk from 12 blocks of weights |
| Vocabulary | 1,024 SentencePiece pieces plus a blank. Capitals, full stops, commas, question marks and apostrophes are part of the vocabulary |
| Context | 640 ms per chunk, 70 frames (5.6 s) of left context kept between chunks |
| Languages | English |
| License | Apache-2.0 |
Input and output
| Input | 16 kHz mono audio, fed as 10,240 new samples (640 ms) per step. Features (80 mel bands, 10 ms hop) are computed inside the model |
| Output | Text with capitals and punctuation, written as you speak. Greedy decoding, no language model, no beam search |
| Delay | At least one chunk (640 ms). A 1.28 s chunk mode trades a little more delay for fewer errors |
Benchmarks
Every number below comes from the released model. Recommended settings are tagged.
How to read the tables
- Accuracy (higher is better): of every 100 words spoken, how many the model got right. We compute it as 100 minus the error rate. The thin bar shows how full it is.
- Errors per 100 words (lower is better): wrong, missing or extra words per 100 spoken. This is the standard measure, called word error rate (WER).
- Score for punctuation (higher is better): out of 100, how well the model finds the right capitals and marks (F1 balances missing marks against wrong extra ones).
- Why not 100%? Even the best speech models make mistakes. Ours is a very small model (19M parameters, 20 MB).
1. Accuracy on LibriSpeech
Public English speech test, full official sets (2,620 clean and 2,939 harder clips).
2. Noise and voice changes
Same clean test with sounds added or voices changed (300 clips each). The noise recordings were never used in training.
3. Capitals and punctuation
The model writes these itself (600 clips, 7,695 words).
4. File formats: smaller files, same accuracy
200 random clean clips. Only FP4, the smallest file, loses accuracy (about 2 points).
5. Mobile runtimes
First 40 of those clips, run in each runtime on a Mac. Nothing has been tested on a phone yet.
Quick start
ONNX Runtime (INT8, 20 MB, no PyTorch needed)
pip install onnxruntime sentencepiece soundfile scipy numpy
python onnx/run_onnx.py audio.wav
PyTorch
pip install torch safetensors sentencepiece soundfile scipy
cd code && python example.py ../audio.wav
Other runtimes: onnx/*.ort (ONNX Runtime Mobile), coreml/ (iOS 17+), executorch/ (Android and iOS), tflite/ (FP32). Each folder has a short README with its input layout.
Speed
How much faster than real time it runs on one laptop CPU thread. A phone will be slower, so test on your own device.
Best practices
- Use 16 kHz mono audio and the default 640 ms chunk with 2 loop passes. Fewer passes are faster but less accurate in our tests, and a third pass did not help.
- Put a voice-activity detector in front and finalize a sentence after about 0.5 s of silence (a suggestion, not tested here).
- Start all caches and the frame counter at zero for each new utterance, and feed each cache output back unchanged on the next chunk (transposed in TFLite, see its README).
- INT8 and 8-bit files lose no measurable accuracy. Prefer them on devices.
What is in this repository
| Path | Contents |
|---|---|
weights/ |
safetensors in FP32, BF16, FP16, FP8 and FP4, plus config and tokenizer |
onnx/ |
streaming encoder and joint network: FP32, FP16, INT8, 4-bit, and .ort files, with a runner |
coreml/ |
.mlpackage files, FP16/FP32 mix and 8-bit |
executorch/ |
.pte files, INT8 and FP32 (XNNPACK) |
tflite/ |
FP32 only |
code/ |
model definition, decoder, FP8/FP4 loader and an example |
How it works
A causal FastConformer-style encoder with rotary position embeddings reads 80-band audio features. Two groups of layers are looped (reused 2 times each), which gives depth without extra parameters. A token-and-duration transducer (TDT) head writes word pieces and skips silence; an auxiliary CTC head helps training. The text output includes capitals and punctuation.
Training
Data. YODAS (CC BY 3.0) with Whisper-large-v3 pseudo-labels from NVIDIA Granary (CC BY 4.0), and NPTEL lectures via AI4Bharat (CC BY 4.0), which adds Indian-English speech. Noise and room augmentation used MUSAN, DEMAND and OpenSLR RIRS_NOISES. Training ran in four stages: base training on about 1,400 hours, then fine-tuning stages on roughly 1,000 to 3,000 additional hours each, with noisier audio, silence and noise-only examples, and labels filtered by the model's own agreement with them. Hour counts are approximate. No data is included in this repository; credits are in NOTICE.
Procedure. Loss: TDT plus 0.3 times a CTC loss (final and an intermediate layer). Optimizer: Muon for matrices and AdamW for the rest, gradient clipping at 1.0, exponential moving average of weights (0.9995). Augmentation: noise, babble, band-limiting, codec distortion, clipping, reverb, speed change (0.85 to 1.15), vocal-tract warping, quiet and muffled voices, SpecAugment, and 1.5% empty-transcript clips so the model learns to write nothing for non-speech. Compute: one NVIDIA B300 GPU for the final stage, one or two cloud GPUs for earlier stages.
Not included. Training code, data and the evaluation harness are not part of this release. Reported numbers come from our own harness, so treat them as a guide and re-measure on your data.
Evaluation method
- WER is computed after lowercasing and removing punctuation; the written-output scores (capitals, punctuation) are computed separately against cased references from our own validation clips.
- Noise tests mix held-out noise recordings (never used in training) into LibriSpeech test-clean at fixed signal-to-noise ratios. Voice-change tests apply pitch, loudness, muffling and room-echo effects to LibriSpeech clips.
- LibriSpeech numbers are on the full official test sets. The per-format comparison uses a random 200-clip sample, so differences under about 0.5 points are noise.
Intended use
Live captioning, voice input and dictation on phones and laptops; offline transcription of English audio; research on small streaming ASR models.
Out of scope
Medical, legal or safety-critical transcription; identifying people; covert recording; any language other than English.
Limitations
- This is a small model. About 80% of words are right on clean read speech and about 67% on harder speech (1 in 5 and 1 in 3 words wrong).
- Weak in echoing rooms, on names and brand words, and on commas.
- English only. Labels are machine-generated, so label errors are inherited.
- Accuracy by accent group is not reported here. Test it on your own speakers before relying on it.
- Not for medical, legal or safety-critical transcription, or for recording people without their knowledge.
Ethical considerations
- Bias. Training audio is mostly web and lecture speech with machine-made labels. Some accents, ages, speaking styles and recording conditions are better covered than others, and we have not measured accuracy by demographic group. Expect uneven accuracy and test with your own speakers.
- Privacy. Training audio comes from public Creative Commons videos, and speakers may be identifiable in the original sources. The weights contain no audio. If you build an app that records voices, tell people and get consent.
- Safety. The model can mishear names, numbers and brand words, and it can write words that were not said. We tested silence and noise-only clips (no text produced), but do not rely on it for decisions that affect people.
- Concerns. Open a discussion on this repository.
License
Code and weights: Apache-2.0 (LICENSE). Third-party credits: NOTICE.
References
- Xu et al., Efficient Sequence Transduction by Jointly Predicting Tokens and Durations (TDT), arXiv:2304.06795
- Rekesh et al., Fast Conformer with Linearly Scalable Attention, arXiv:2305.05084
- Gulati et al., Conformer: Convolution-augmented Transformer for Speech Recognition, arXiv:2005.08100
- Su et al., RoFormer: Enhanced Transformer with Rotary Position Embedding, arXiv:2104.09864
- Jain et al., BhasaAnuvaad: A Speech Translation Dataset for 14 Indian Languages, arXiv:2411.04699
Changelog
- 1.0 (2 December 2026): first release. Weights in safetensors (FP32, BF16, FP16, FP8, FP4), ONNX, Core ML, ExecuTorch and TFLite.
Citation
@misc{tinyear2026,
title = {Tiny Ear ASR: a 19M-parameter streaming speech recognizer},
author = {{Tiny Ear contributors}},
year = {2026}
}
- Downloads last month
- -
Datasets used to train sanjithrj/tiny-ear-asr
espnet/yodas-granary
nvidia/Granary
Papers for sanjithrj/tiny-ear-asr
BhasaAnuvaad: A Speech Translation Dataset for 14 Indian Languages
Fast Conformer with Linearly Scalable Attention for Efficient Speech Recognition
Efficient Sequence Transduction by Jointly Predicting Tokens and Durations
RoFormer: Enhanced Transformer with Rotary Position Embedding
Conformer: Convolution-augmented Transformer for Speech Recognition
Evaluation results
- WER (streaming on LibriSpeech test-cleantest set self-reported19.400
- Accuracy = 100 - WER on LibriSpeech test-cleantest set self-reported80.600
- WER (streaming on LibriSpeech test-othertest set self-reported32.600
