witcheer commited on
Commit
cfaddeb
·
verified ·
1 Parent(s): 95a5a4b

Upload asr-head-to-head.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. asr-head-to-head.md +72 -0
asr-head-to-head.md ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sovereign ASR on one RTX 5090: a 0.6B transducer beats 5-year-old Whisper-large on *noisy* speech — and runs 4–9× faster
2
+
3
+ **Rig:** one RTX 5090 32GB · parakeet.cpp (ggml, sm_120 CUDA) vs whisper.cpp · LibriSpeech
4
+ test-clean / test-other, 200 utts/split (400 total) · **load-once** · one shared text normalizer · temp 0
5
+
6
+ **Setup:** Each model loads its weights **once** and transcribes the whole 400-utterance subset, so RTFx
7
+ (real-time factor = audio-seconds processed per processing-second) measures *transcription*, not model
8
+ *load* — a per-file CLI loop reloads the model every call and silently measures load time, the single most
9
+ common way to publish a bogus ASR speed number. Every hypothesis **and** reference passes through **one**
10
+ normalizer (lowercase, strip punctuation, fold contractions) before **micro-averaged** WER (total errors /
11
+ total reference words — the LibriSpeech standard, not the mean of per-utterance WERs). Parakeet-TDT-0.6b-v2
12
+ (f16) runs via parakeet.cpp's native `bench --manifest` (TDT decoder, load reported separately); Whisper
13
+ large-v3 / large-v3-turbo run via whisper.cpp's multi-file mode (one load over the whole invocation). The
14
+ always-on local LLM was drained for the run; VRAM is each model's own steady-state footprint.
15
+
16
+ ## The board
17
+
18
+ | model | params | WER clean | WER other | RTFx | VRAM |
19
+ |---|---|---|---|---|---|
20
+ | **parakeet-tdt-0.6b-v2** | 0.6B | 1.49% | **4.73%** | **451×** | **2.0 GB** |
21
+ | whisper-large-v3 | 1.55B | **1.47%** | 5.96% | 53× | 4.6 GB |
22
+ | whisper-large-v3-turbo | 809M | 1.42% | 6.26% | 117× | 2.5 GB |
23
+
24
+ ## The finding
25
+
26
+ **On clean read speech, it's a three-way tie** — all three within 0.07pts (1.42–1.49%). Clean LibriSpeech is
27
+ saturated; nobody wins, and chasing that number is chasing noise.
28
+
29
+ **On the harder test-other split, the 0.6B Parakeet wins decisively: 4.73% vs 5.96% (v3) vs 6.26% (turbo).**
30
+ The *smallest* model is the *most* noise-robust. And efficiency isn't close — Parakeet is **3.9× faster than
31
+ turbo, 8.5× faster than v3**, on the **least VRAM** of the three.
32
+
33
+ The pointed version: whisper-large-v3-turbo is Whisper's own *speed* variant, and Parakeet beats it on
34
+ **every axis** — faster *and* more accurate on noise. The only place anything edges Parakeet is full v3 on
35
+ clean speech, by 0.02pts, at 8.5× the compute and 2.2× the VRAM.
36
+
37
+ ## Mechanism
38
+
39
+ Whisper (2022) is an attention **encoder-decoder**; Parakeet is a **TDT transducer** (token-and-duration),
40
+ frame-synchronous decoding built for streaming throughput — that architecture is where the 451× RTFx comes
41
+ from. The interesting part is the accuracy: at 0.6B, Parakeet is *not* under-capacity for English read
42
+ speech — it's right-sized, so it gives up nothing on noise while running an order of magnitude faster.
43
+ Turbo, by contrast, buys its speed by cutting Whisper's decoder stack (32 → 4 layers) and pays for it on the
44
+ hard split (6.26%, the worst here). Same "small + specialized beats big + general" result the rig keeps
45
+ hitting elsewhere.
46
+
47
+ ## Honest caveats
48
+
49
+ - **200 utts/split is a directional subset**, not the full test-other (2,939 utts). The 1.2pt noise gap is
50
+ real on this sample, but a full run would tighten the interval — treat the *ranking* as solid and the
51
+ *exact margin* as provisional.
52
+ - **English-only.** Parakeet-TDT is monolingual; Whisper-large is multilingual + can translate. This board
53
+ is an English-transcription comparison, nothing more.
54
+ - **One shared normalizer**, with number-words-vs-digits **not** reconciled — counted as errors *equally*
55
+ for every model. A stated limitation, applied identically, so it doesn't bias the comparison.
56
+ - Parakeet at f16 (the fair quality point against Whisper's ggml weights); quant sweep is future work.
57
+
58
+ ## Worth it?
59
+
60
+ **Yes — Parakeet-TDT-0.6b is the sovereign ASR default on the 5090:** faster, leaner, tougher on noise.
61
+ Keep Whisper-large only when you need non-English or translation.
62
+
63
+ ---
64
+
65
+ *Method note:* the load-once runner (`scripts/asr_bench.py`) and the scorer (`scripts/asr_report.py`,
66
+ dep-free micro-WER) are in this repo; the chart is `scripts/chart_asr.py`.
67
+
68
+ **Sources**
69
+ - parakeet.cpp (ggml runtime): https://github.com/mudler/parakeet.cpp
70
+ - Prebuilt Parakeet GGUFs: https://huggingface.co/mudler/parakeet-cpp-gguf
71
+ - LibriSpeech: https://www.openslr.org/12
72
+ - 2026 open-ASR landscape: https://huggingface.co/blog/CohereLabs/cohere-transcribe-03-2026-release