Breeze-ASR-26 β ONNX (sherpa-onnx, INT8)
The only build that runs on Android, iOS, and in the browser (WASM). Encoder and decoder are single ONNX files each. Slower on CPU (RTF 1.62β1.95) than CT2/GGML β use this only where you need mobile or WASM; otherwise prefer CT2 (speed) or GGML (low RAM).
Part of the Breeze-ASR-26 edge family β the same MediaTek model in every runtime, pick by your constraint:
Repo Runtime RSS RTF (CPU 4-thread) Best for Breeze-ASR-26-ct2 CTranslate2 / faster-whisper ~2.9 GB 0.23β0.24 servers, 8 GB+ hosts, GPU Breeze-ASR-26-GGML whisper.cpp / MacWhisper 1.85 GB 0.40 (measured 2026-07-17) 4 GB hosts, desktop apps Breeze-ASR-26-ONNX sherpa-onnx / onnxruntime β 1.62β1.95 Android / iOS / WASM All Apache-2.0, derived from MediaTek-Research/Breeze-ASR-26. Measured on real multi-speaker Mandarin meeting audio. Mandarin does not regress; Taigi is transcribed as Mandarin meaning (not verbatim Taigi characters).
Usage
import sherpa_onnx
rec = sherpa_onnx.OfflineRecognizer.from_whisper(
encoder="breeze-asr-26-large-v2-encoder.int8.onnx",
decoder="breeze-asr-26-large-v2-decoder.int8.onnx",
tokens="breeze-asr-26-large-v2-tokens.txt",
language="zh", task="transcribe", num_threads=4)
Feed it windows shorter than 30 s β use 29 s. sherpa-onnx only accepts waves of less than 30 seconds; a window of exactly 30.000 s is silently truncated and it only logs "Only waves less than 30 seconds are supported". Our own first benchmark used 30.000 s windows and lost the tail of every window.
Re-measurement (2026-10-29)
A reply on discussion #3 suggested a different measurement method. We re-ran the benchmark on a new corpus and fixed two flaws in the July setup. The numbers above are the current ones.
Corpus. 300 s of a public Legislative Yuan (Taiwan) meeting recording β multi-speaker Mandarin, spontaneous speech, crosstalk, 16 kHz mono, 75.5 % speech density. The July audio file no longer exists, so these are a fresh baseline on a documented corpus, not a correction of the July figures.
Hardware. Intel Core i7-13700KF, 4 threads, CPU only, OMP_NUM_THREADS=4.
| Build | Method | RTF |
|---|---|---|
| CT2 | β€30 s clips, per-clip decode, timestamps on | 0.2412 |
| CT2 | β€30 s clips, per-clip decode, timestamps off | 0.2257 |
| CT2 | one call over the whole file, timestamps on | 0.3602 |
| CT2 | one call over the whole file, timestamps off | 0.2670 |
| ONNX | 30 s windows (tail truncated by sherpa-onnx) | 1.6212 |
| ONNX | 29 s windows (no truncation) | 1.9479 |
The ONNX figure is above the July range (1.17β1.76) because the July measurement used 30.000 s windows that sherpa-onnx truncated. On the same audio, the normalized transcript similarity between CT2 and this build is 0.8475 in favour of CT2: this build drops characters (ζΊ, ε³°, θ¨, θͺͺ) and substitutes others.
Corpus and measurement recipe
- Source. Legislative Yuan IVOD recording 170217 β a 410 s clip of ηηΎ©ε· in the
ε€δΊ€εει²ε§ε‘ζ meeting of 2026-07-01 (731 speaker turns). Public open data:
https://ivod.ly.gov.tw/Play/Clip/1M/170217. The HLS host rejects requests without a
browser referer, so fetch it with
ffmpeg -nostdin -headers "Referer: https://ivod.ly.gov.tw/" -user_agent "Mozilla/5.0" -i <m3u8> -c copy source.mp4. - Cut. Decode the whole recording first, then take the densest 300 s:
ffmpeg -i source.mp4 -vn -ac 1 -ar 16000 -c:a pcm_s16le full.wavand thenffmpeg -ss 29.32 -t 300 -i full.wav -ac 1 -ar 16000 -c:a pcm_s16le corpus.wav. Seeking inside the mp4 and cutting the decoded wav are not the same bytes. - Corpus SHA-256:
670156c9156bd4aa48ac031523968f4a6a901987533f1f38f8b60749da18a56d(ffmpeg 4.4.2-0ubuntu0.22.04.1). A fresh CDN delivery re-encodes the container, so it lands within a few AAC samples of that digest rather than exactly on it. - Decode. Transcribe the corpus in β€30 s clips, concatenate the transcripts, and time against the audio duration.
The July 2026 figures were measured on a corpus that was never archived. The figures in this card come from the recording described above.
Code-switched speech: a CER measurement (2026-10-30)
This card carried no character error rate for Mandarin-Taiwanese code-switching inside a single utterance, because no labelled sample existed. We built one and measured it on the CT2 build; the numbers are on the CT2 card and in the sample file that ships with it.
Short version: on 13 reviewed utterances of public Legislative Yuan IVOD recordings, each one a Mandarin sentence carrying Taiwanese vocabulary, the CT2 INT8 build scored 52.24 % CER overall (micro, 326 errors / 624 characters), 51.28 % on the Mandarin segment and 66.67 % on the Taiwanese segment. The sample is the hardest subset β only the utterances where Taiwanese vocabulary was marked β the reference is the written gazette text, and 13 utterances / 624 characters carry a wide interval. The windows were placed with an independent model (MMS-1B CTC), never with this build's own output.
We measured the CT2 build on that sample. This build was not run on it.
This card and discussion #3 carry the method, the numbers and their limits.
Model tree for weemed/Breeze-ASR-26-ONNX
Base model
openai/whisper-large-v2