File size: 5,094 Bytes
531b9c5 d21b04d 531b9c5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 | ---
language:
- en
license: cc-by-4.0
pipeline_tag: automatic-speech-recognition
tags:
- speech-to-text
- offline
- quantized
- onnxruntime
- ctc
- citrinet
- conformer
base_model:
- OpenVoiceOS/stt_en_citrinet_256_gamma_0_25_onnx
- nvidia/stt_en_conformer_ctc_small
base_model_relation: finetune
datasets:
- google/fleurs
- openslr/librispeech_asr
- speechbrain/LoquaciousSet
- facebook/voxpopuli
model-index:
- name: Tiny Dictation English
results:
- task:
type: automatic-speech-recognition
name: Automatic Speech Recognition
dataset:
type: google/fleurs
name: FLEURS English (US)
config: en_us
split: test
metrics:
- type: wer
name: WER (%)
value: 9.974582675001717
- task:
type: automatic-speech-recognition
name: Automatic Speech Recognition
dataset:
type: openslr/librispeech_asr
name: LibriSpeech test-clean
config: clean
split: test
metrics:
- type: wer
name: WER (%)
value: 3.407697965187546
---
# Tiny Dictation English
Tiny Dictation transcribes English WAV and FLAC recordings locally. The complete model archive is **17,913,319 bytes (17.91 MB)**, including both acoustic encoders, their tokenizers, the language priors, and the learned word selector.
## Full test-set benchmarks
| Test split | WER |
|---|---:|
| FLEURS English (US), `en_us/test` | **9.97%** |
| LibriSpeech `test-clean` | **3.41%** |
Both scores use the published checkpoint with audio-only decoding. Word error rate is the sum of substitutions, deletions, and insertions divided by the total number of normalized reference words. The scoring script applies the Whisper English normalizer with an empty spelling map to references and predictions. The checkpoint and gain setting were fixed using development recordings before evaluation on the two full test splits.
[Aggregate results and checksums](benchmarks/metrics.json) 路 [FLEURS predictions and references](benchmarks/fleurs.jsonl) 路 [LibriSpeech predictions and references](benchmarks/libri_clean.jsonl)
## Run locally
Download or clone the files in this repository. With Python 3.11 or newer, create a virtual environment and run the bundled CPU transcription command from the checkout:
```bash
python -m venv .venv
source .venv/bin/activate
python -m pip install -r requirements.txt
python transcribe.py recording.wav
```
The runner resamples and mixes the input down to 16 kHz mono and returns lowercase text. Inference runs offline once the archive and dependencies are installed. The 17.91 MB figure covers the full model archive. The Python environment and decompressed runtime tensors use additional space.
To recalculate the scores from the archived predictions and check the model SHA-256:
```bash
python -m pip install -r benchmarks/requirements.txt
python benchmarks/recompute.py
```
## Architecture and training
The two branches start from NVIDIA Citrinet-256 gamma 0.25 and Conformer-CTC Small. The archive stores grouped 4-bit Citrinet weights and grouped 8-bit Conformer weights, with some tensors and quantization scales in FP16. The Citrinet branch also includes a learned feature projection and a temporal residual. A capped peak-gain step makes low-level recordings easier for both frontends to process.
Each CTC decoder proposes transcripts from the original playback rate and two nearby rates. The two branches cross-score the proposals in their own token vocabularies. A 24,353-parameter selector uses local word context, acoustic scores, and source agreement to choose the final word sequence.
The word selector was trained on 1,536 FLEURS English (US) train recordings and 1,024 LibriSpeech training recordings. Its epoch-eight checkpoint supplies the selector in this release. Earlier acoustic adaptation used training data from FLEURS, LibriSpeech, LoquaciousSet, and VoxPopuli. See the upstream model cards for the base checkpoints' training data. [FLEURS](https://huggingface.co/datasets/google/fleurs) 路 [LibriSpeech](https://www.openslr.org/12) 路 [LoquaciousSet](https://huggingface.co/datasets/speechbrain/LoquaciousSet) 路 [VoxPopuli](https://huggingface.co/datasets/facebook/voxpopuli)
## Limitations
These tests cover English read speech. Accuracy on conversation, overlapping voices, and microphone noise is unmeasured. The released runner outputs lowercase text without punctuation. It processes long recordings in chunks, producing text after decoding each chunk. The FLEURS result is above 5% WER.
## Attribution
The weights are distributed under CC BY 4.0. The archive contains the original component notices. Modifications include quantization, fine-tuning, compact decoder priors, a learned word selector, and input gain. NVIDIA developed both source models. OpenVoiceOS supplied the Citrinet ONNX export. [Citrinet ONNX export](https://huggingface.co/OpenVoiceOS/stt_en_citrinet_256_gamma_0_25_onnx/tree/3362d8d46028) 路 [Conformer-CTC Small](https://huggingface.co/nvidia/stt_en_conformer_ctc_small) 路 [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
|