use case · multi-model · Whisper-Small (244M · 251.88 MB) vs Whisper-Base (72.6M · 79.68 MB) · 331.56 MB total

Whisper-Small vs Whisper-Base: WER Diff & Capacity Headroom

Run Stage 1 (Xenova/whisper-small, 244M params, 12+12 layers, d_model=768, 251.88 MB q8 WASM) side-by-side against Stage 2 (Xenova/whisper-base, 72.6M / ~74M params, 6+6 layers, d_model=512, 79.68 MB q8 WASM, reusing ../whisper-base/worker.js) on the exact same audio to measure real word-level diffs, reference WER, and latency vs accuracy headroom.

1 · Two isolated ASR workers (331.56 MB combined)

Stage 1 · Whisper-Small (244M · 251.88 MB q8)

Xenova/whisper-small · 12+12 layers, d_model=768 (../worker.js).

Stage 2 · Whisper-Base (72.6M · 79.68 MB q8)

Xenova/whisper-base · 6+6 layers, d_model=512 (../../whisper-base/worker.js).

2 · Side-by-side ASR comparison & WER headroom

Initialise both workers above (331.56 MB total) to compare Whisper-Small vs Whisper-Base locally.

Loading sample…
Param headroom244M vs 72.6M (3.4×)
Stage 1 Small–
Stage 2 Base–
Token agreement / diff–
WER (Small / Base)–
NaN (S1 / S2)–

Stage 1 · Whisper-Small (244M · 12+12 · d_model=768)

Run Stage 1 to inspect Whisper-Small's transcript.

–

Stage 2 · Whisper-Base (72.6M · 6+6 · d_model=512)

Run Stage 2 to inspect Whisper-Base's transcript.

–

See inside · Word-level token diff (Whisper-Base → Whisper-Small)

Aligns Stage 2 (Whisper-Base) against Stage 1 (Whisper-Small) with Unicode Levenshtein edit operations (Base-only → Small-only) so capacity differences are immediately legible.

Run both stages to inspect token-level differences between Small and Base.

3 · Inspect Stage 2 worker reuse & multi-stage client

Show the code · whisper-small.js — WhisperBaseStage2Client (reusing ../whisper-base/worker.js)
Show the code · whisper-small-core.mjs — computeWerAndDiff() (WER & token alignment diff)