SpeedASR-v1-65M / README.md
SpeedAudio's picture
Publish official SpeedASR Open ASR Leaderboard results
222829c verified
|
Raw History Blame Contribute Delete
15.4 kB
---
license: apache-2.0
language:
- en
pipeline_tag: automatic-speech-recognition
library_name: pytorch
tags:
- icefall
- zipformer
- transducer
- offline-asr
- english
metrics:
- wer
---
# SpeedASR-v1-65M
SpeedASR-v1-65M is an **offline English Zipformer transducer** with
**65,551,059 parameters (65.55M)**. This release contains the original FP32
checkpoint, its 500-entry token vocabulary, portable batched inference code,
and public Open ASR Leaderboard evaluation artifacts.
Original encoder/decoder/joiner ONNX exports are also retained in [onnx](onnx).
Their `epoch-99` filenames are export labels around the epoch-30-avg-9 checkpoint
alias, not a claim that this is an epoch-99 model. The reported scores and cloud
adapter use PyTorch; these ONNX files have not been evaluated for numerical
parity by this release's checks.
The non-causal encoder processes complete recordings. This release does not
provide a native streaming recognizer or claim a measured phone/NPU benchmark.
| Property | Value |
|---|---|
| Language | English |
| Encoder | Zipformer2, six stacks / 16 encoder layers; non-causal |
| Prediction network | Transducer, context size 3, dimension 512 |
| Joiner | Dimension 512 |
| Parameters | 65,551,059 total |
| Audio | 16 kHz, mono, floating-point samples |
| Features | 80-bin kaldifeat Fbank, dither 0, `snip_edges=False`, `high_freq=-400` |
| Decoding | Modified beam search, beam size 4, FP32 |
| Text formatting | VoiceA casing/punctuation tags restored; no benchmark WER normalization inside inference |
| External language model | None |
| Checkpoint | `pretrained.pt`, 262,613,934 bytes; epoch-30-avg-9 |
The complete frozen construction and inference settings are in
[model_config.json](model_config.json). The repository's existing Apache 2.0
license is preserved. Vendored Icefall components retain their upstream notices
and [Apache 2.0 license](speedasr_core/LICENSE).
## Inference
The pinned dependency set targets **Linux x86-64, Python 3.10, CUDA 12.4 and
PyTorch 2.6.0**. The k2 and kaldifeat wheels must match the PyTorch/CUDA ABI.
```bash
python3.10 -m venv .venv
source .venv/bin/activate
python -m pip install huggingface_hub==1.18.0
hf download SpeedAudio261119/SpeedASR-v1-65M --local-dir SpeedASR-v1-65M
cd SpeedASR-v1-65M
python -m pip install -r requirements-linux-cu124.txt
python inference.py /path/to/16khz.wav --device cuda:0
```
From a downloaded copy of this repository:
```python
import soundfile as sf
from inference import SpeedASR
audio, sample_rate = sf.read("sample.wav", dtype="float32")
model = SpeedASR(device="cuda:0")
text = model.transcribe(audio, sample_rate=sample_rate)
texts = model.transcribe_batch([audio, audio], sample_rate=sample_rate)
print(text)
```
Inputs must be mono and 16 kHz; resample other audio before calling the API.
The WAV CLI uses the first channel, matching the benchmark frontend.
Inputs shorter than one second are padded; inputs longer than 30 seconds are
decoded in consecutive 30-second pieces and joined without overlap. The same
policy and decoder settings apply to all datasets.
The loader checks the checkpoint/token hashes, loads the state dictionary
strictly, and verifies the parameter count. `SpeedASR.from_pretrained` can
download weights, tokens and configuration for an explicitly pinned Hub commit;
the local inference module and `speedasr_core` must already be available.
## Public benchmark results
### Official Open ASR Leaderboard
The [Open ASR Leaderboard](https://huggingface.co/spaces/hf-audio/open_asr_leaderboard) added SpeedASR-v1-65M in
[v1.16.3](https://huggingface.co/spaces/hf-audio/open_asr_leaderboard/blob/4206a50255df90b00c1093aa09d0fc5b11c95703/init.py#L26) on 25 November 2026.
| English short-form result | Value |
|---|---:|
| Overall rank | 45 of 68 |
| **Overall WER** | **7.38%** |
| Pooled throughput | 202.82× real time |
| URGENT24 Clean WER (optional) | 5.55% |
Overall WER averages the seven default public test sets and the two private
group averages. URGENT24 Clean is outside that average.
### Public H200 benchmark
The seven default public English short-form testsets completed on 22 November 2026 on NVIDIA H200 Hugging Face Jobs. Inference used FP32, beam 4, a 2,048-clip cap, and a 5,000 padded-audio-second batch budget.
The seven test-set WERs below match the official leaderboard. Clip counts and
per-test throughput come from the author-run H200 jobs.
| Public testset | Scored clips | WER | RTFx | Hugging Face Job |
|---|---:|---:|---:|---|
| AMI-Cleaned | 7,715 | 9.48% | 213.77 | [Job](https://huggingface.co/jobs/SpeedAudio/6b02f87e130a00b5aa8051e5) |
| GigaSpeech-Cleaned | 18,757 | 8.07% | 201.59 | [Job](https://huggingface.co/jobs/SpeedAudio/6b02f9578d268c0fbd21ee36) |
| VoxPopuli-AA-Cleaned | 628 | 3.27% | 184.82 | [Job](https://huggingface.co/jobs/SpeedAudio/6b02fc518d268c0fbd21f1d0) |
| Earnings22-Cleaned-AA (chunked) | 341 | 6.78% | 191.19 | [Job](https://huggingface.co/jobs/SpeedAudio/6b02fcc98d268c0fbd21f20f) |
| SPGISpeech | 39,341 | 3.89% | 200.50 | [Job](https://huggingface.co/jobs/SpeedAudio/6b02fd41130a00b5aa805a30) |
| URGENT2024 | 1,000 | 12.34% | 192.83 | [Job](https://huggingface.co/jobs/SpeedAudio/6b03053f8d268c0fbd21ff7b) |
| Voice Arena Monsoon | 2,102 | 4.46% | 195.60 | [Job](https://huggingface.co/jobs/SpeedAudio/6b0305a68d268c0fbd220000) |
| **Seven-set mean WER / pooled RTFx** | **69,884** | **6.8986%** | **200.77** | |
Mean WER weights the seven testsets equally. Pooled RTFx divides total audio duration by timed inference. The 341 Earnings22 chunks were reassembled and scored against six call-level references.
Reproduction pins include [the launcher commit](https://github.com/speedaudio/open_asr_leaderboard/commit/a338f5f55649d5eb634d4d48ba691599148e5939), [the evaluation Space revision](https://huggingface.co/spaces/SpeedAudio/open-asr-leaderboard-speedasr/tree/a41b6616514f2d34b946d87f3e3ce42b2567ec1c), and [the model revision](https://huggingface.co/SpeedAudio261119/SpeedASR-v1-65M/tree/a6f5cacea359929b52ae41b77f6f634441cf0546). The evaluator used [scorer revision 4a113dd](https://github.com/huggingface/open_asr_leaderboard/tree/4a113dd90c9ffd011d7d3d105da76980d511d029).
The [results bucket](https://huggingface.co/buckets/SpeedAudio/speedasr-open-asr-results) stores the raw predictions and metadata under SpeedAudio261119-SpeedASR-v1-65M/public-h200-20261122-f314. Each manifest hash was checked after download.
### Historical RTX 3090 Ti results
The following **local results** use predictions generated on **19 November 2026**
using an **NVIDIA GeForce RTX 3090 Ti, FP32**, with the official scorer at
[`4a113dd90c9ffd011d7d3d105da76980d511d029`](https://github.com/huggingface/open_asr_leaderboard/tree/4a113dd90c9ffd011d7d3d105da76980d511d029).
They are not official H200/cloud results or an official leaderboard ranking.
| Public testset | Clips | WER (%) |
|---|---:|---:|
| AMI Cleaned | 7,715 | 9.47 |
| GigaSpeech Cleaned | 18,757 | 8.07 |
| VoxPopuli Cleaned AA | 628 | 3.27 |
| Earnings22 Cleaned AA Chunked | 341 | 6.78 |
| SPGISpeech | 39,341 | 3.89 |
| Voice Arena Monsoon English | 2,102 | 4.44 |
| URGENT2024 | 1,000 | 12.29 |
| **Seven-set arithmetic mean** | **69,884** | **6.8871** |
| URGENT2024 Clean — optional, excluded from mean | 1,000 | 5.54 |
On **21 November 2026**, the saved hypotheses were rescored after applying the
official normalized-reference input filter. It excludes 90 AMI and 11
GigaSpeech references that become empty after normalization. The table's seven
default sets therefore contain **69,884 scored clips**; AMI WER changes from
9.59% to **9.47%**, and the seven-set mean changes from 6.9043% to **6.8871%**.
GigaSpeech's rounded WER remains 8.07%. The rescore uses the saved predictions. The optional URGENT2024 Clean row retains its original
archived result and remains outside this mean. See the
[structured filter-and-rescore report](benchmark_results/local_3090ti_20261119/official_filter_rescore.json).
Earnings22 predictions are reconstructed and scored as **six parent calls**,
not 341 independent references. The two private score groups are unavailable
locally and are excluded from this public average.
The **original 69,985-clip run** recorded seven-set pooled local
throughput of **192.6293 RTFx**, using up to 2,048
streams, a 5,000 padded-audio-second budget, and 512 long-audio chunks per
internal batch. This is batched GPU throughput, not single-request latency or
on-device efficiency. This is the original unfiltered run's historical timing;
no throughput was remeasured or recomputed for the filtered subset. Cloud
throughput must be measured separately.
The [benchmark_results/local_3090ti_20261119](benchmark_results/local_3090ti_20261119)
directory preserves all **70,985** original raw public prediction rows, the
original unfiltered score summaries,
dataset revisions, sanitized historical configuration, and verification data.
Only machine-local audio paths and model-id filenames were changed for release;
raw references/predictions, timing and chunk metadata were preserved.
Dedicated Earnings22 and Monsoon filenames use the official empty-configuration
convention. The [original archival public summary](benchmark_results/local_3090ti_20261119/official_public_summary.txt)
was generated directly from these released outputs before the input-filter
correction. The filter-and-rescore report documents the scoring change.
[export_manifest.json](benchmark_results/local_3090ti_20261119/export_manifest.json)
records original and released hashes. It contains no audio corpus or private
testset data.
The portable runtime passed strict loading and exact prediction comparisons
against the original runner on 24 representative short/middle/long examples
covering all eight public sets, plus a 16-example identical-batch comparison.
See [portable_validation.json](benchmark_results/portable_validation.json).
This is a targeted portability check, not a rerun of all testsets with the new
cloud adapter. Different batch grouping can cause numerical differences.
The [adapter smoke check](benchmark_results/adapter_validation.json) also passed
official data preparation, raw manifest writing and scoring using four cached
AMI utterances and one complete 51-chunk Earnings22 parent call. Dataset transport
and metadata requests were replaced with local test fixtures for that check.
The Docker evaluation Space subsequently built successfully and passed a CPU
model-loading/Fbank/encoder/beam-decoder smoke test. The H200 performance pilot
below also exercised real-speech inference on that image. Neither check is a
complete H200 Open ASR public-testset evaluation.
The combined pinned inference/evaluation dependencies passed a fresh
`pip --dry-run --ignore-installed` resolution; see
[dependency_validation.json](benchmark_results/dependency_validation.json).
## Open ASR cloud evaluation
[leaderboard/run_eval.py](leaderboard/run_eval.py) uses the official data loader
and manifest writer, retains raw references and predictions, preserves
Earnings22 parent/chunk metadata, and uses one scoring worker. It fixes the
decoder settings above across datasets and records synchronized inference timing
after synthetic warmup.
The [Dockerfile](leaderboard/Dockerfile) builds the evaluation Space.
The [maintained HF Jobs launcher](https://github.com/speedaudio/open_asr_leaderboard/blob/codex/add-speedasr-v1-65m/speedasr/submit_jobs.sh)
and [submission instructions](leaderboard/cloud_submission.txt) cover the seven
public cloud evaluation jobs. Build the image with:
```bash
docker build -f leaderboard/Dockerfile -t speedasr-open-asr .
```
Use an immutable model revision for submitted runs. The recipe defaults to
`BATCH_SIZE=2048` and `BATCH_AUDIO_SECONDS=5000`, the fastest setting in the
H200 pilot below. The audio budget also applies to batches of long-audio chunks.
The maintained cloud recipe is available in [Open ASR PR #296](https://github.com/huggingface/open_asr_leaderboard/pull/296)
and uses the [SpeedAudio evaluation Space](https://huggingface.co/spaces/SpeedAudio/open-asr-leaderboard-speedasr).
## H200 performance pilot — 21 November 2026
One NVIDIA H200 ran FP32 inference with beam size 4 on **2,304 speech clips**
formed reproducibly by cropping, concatenating and reusing **32 excerpts from
eight Open Speech Repository recordings**. Original American/British speech was
resampled from 8 kHz to 16 kHz before the GPU run. Each complete configuration
processed 20,055.47 audio seconds, including repeated material.
All configurations used `BATCH_SIZE=2048` and `TORCH_THREADS=16`.
The padded-audio budget is the longest clip's duration multiplied by the
number of clips in a batch.
| Padded-audio budget (seconds) | Largest observed batch | RTFx | Peak allocated GPU memory (GiB) |
|---:|---:|---:|---:|
| **5,000 — retained default** | 625 | **209.13** | 20.676 |
| 9,000 | 1,070 | 205.32 | 36.930 |
| 14,000 | 1,174 | 203.68 | 57.194 |
The pilot measured one pass per configuration. The 5,000-second budget was
fastest across the three completed trials.
The following trial, at a **20,000 padded-audio-second budget**, hit PyTorch's
`canUse32BitIndexMath(input) && canUse32BitIndexMath(output)` limit in a depthwise
convolution. The job ended with that error after 5 minutes 14 seconds of
running time. The current runtime retries this error and CUDA out-of-memory
errors with smaller batches when possible. Evaluation metadata records the
retry reasons. Isolated regression tests exercised both retry paths.
The pilot used model revision `a6f5cacea359929b52ae41b77f6f634441cf0546`, Space
source `2d0cadf1ee431f4a07e2ec2fb53b39c24df269be`, and the same FP32 beam-4 decoder.
These throughput figures describe the independent pilot workload. The H200 benchmark section above reports throughput on the Open ASR public testsets.
See the [pilot summary](benchmark_results/h200_pilot_20261121.json)
for the completed measurements, failure scope and public source provenance.
Source attribution: **Open Speech Repository**, under its [attribution terms](https://www.voiptroubleshooter.com/open_speech/about.html).
## Training data
The author confirms that **all seven default public benchmark testsets listed
above were excluded from training**. This is an author-provided statement, not
an independent overlap audit. The full training-dataset composition has not
been disclosed in this release. No exclusion claim is made here for unavailable
private datasets or the optional eighth testset.
## Artifact identity
```text
pretrained.pt SHA-256
b0475d24e50f810fbcf997e66061243a1fe212251f6d032457b2711641906c01
tokens.txt SHA-256
a238b7a0fa67aa6be998ca13dd129d69c50639970583e32232dd149e5448210a
```
[runtime_source_manifest.json](runtime_source_manifest.json) records vendored
source origins and transformations. The upstream model-code revision is
`3f848bb6d0acc970c9b294a30ca0a04a7c9c78d1`. The [release artifact manifest](https://huggingface.co/SpeedAudio261119/SpeedASR-v1-65M/blob/a6f5cacea359929b52ae41b77f6f634441cf0546/artifact_manifest.json) describes the original pinned release.
[leaderboard/model_metadata.json](leaderboard/model_metadata.json) provides
structured submission metadata and parameter counts by component, including
auxiliary training projections retained in the unchanged checkpoint.