Results
Word error rate on 300 LibriSpeech validation (clean) utterances, scored with Whisper's own
EnglishTextNormalizer. Intervals are 95% paired bootstrap intervals over 10,000 resamples.
Table with columns: WER, zero-shot whisper-base, this adapter, change| WER | zero-shot whisper-base | this adapter | change |
|---|
| clean audio | 4.37% | 5.24% | +0.87 pp [+0.35, +1.40] |
| degraded audio | 23.76% | 21.20% | -2.56 pp [-3.85, -1.31] |
There is a trade-off, and it shows up in the results. On degraded audio the adapter recovers 2.56 of
the 19.39 points the channel costs (about 13% of the gap, -10.8% relative). On clean audio it gets
slightly worse: +0.87 pp, which is +19.9% relative because the clean baseline is small. Neither
interval contains zero, so both effects are real. Use this adapter for phone-band audio. Keep the base
model for clean wideband audio.
WER by the SNR each utterance was mixed at (no per-bucket intervals; see the caveat below):
Table with columns: SNR band, n, zero-shot, fine-tuned, delta| SNR band | n | zero-shot | fine-tuned | delta |
|---|
| -5 to 0 dB | 99 | 38.19% | 32.53% | 5.67 pp |
| 0 to 5 dB | 104 | 20.93% | 19.11% | 1.82 pp |
| 5 to 10 dB | 97 | 13.16% | 12.75% | 0.41 pp |
| clean | 300 | 4.37% | 5.24% | -0.87 pp |
Training
Table | |
|---|
| base | openai/whisper-base |
| method | LoRA, r=32, alpha=64, dropout 0.05, on q_proj / v_proj |
| data | 2,000 LibriSpeech train.clean.100 utterances (1-25 s), degraded on the fly |
| channel | 300-3400 Hz bandpass, 8 kHz G.711 mu-law, ESC-50 noise at -5 to 10 dB SNR, 5% packet loss (20 ms frames) |
| noise | 15 ESC-50 categories with face validity behind an emergency call (siren, car horn, crying baby, ...). Train and eval use disjoint noise clips |
| targets | normalised with Whisper's EnglishTextNormalizer |
| schedule | 2 epochs, lr 1e-4, batch 16, fp16, one Kaggle T4 (~6.5 min of training) |
Reproduce with kaggle/reach_asr_kaggle.ipynb in the GitHub repo.
Usage
import torchfrom peft import PeftModelfrom transformers import WhisperForConditionalGeneration, WhisperProcessor processor = WhisperProcessor.from_pretrained("openai/whisper-base", language="english", task="transcribe")model = WhisperForConditionalGeneration.from_pretrained("openai/whisper-base")model = PeftModel.from_pretrained(model, "Rik0411/reach-asr-whisper-base-lora").merge_and_unload() # Decode the same way the evaluation did: no forced prefix, English transcription.model.generation_config.forced_decoder_ids = Nonemodel.generation_config.language = "en"model.generation_config.task = "transcribe"model.eval() # audio: 1-D float32 numpy array, mono, 16 kHz, at most 30 sfeatures = processor.feature_extractor(audio, sampling_rate=16000, return_tensors="pt").input_featureswith torch.no_grad(): ids = model.generate(features, max_new_tokens=200)print(processor.batch_decode(ids, skip_special_tokens=True)[0].strip())
Limitations
- No real emergency-call audio was used. None exists publicly. The channel is constructed from
LibriSpeech read speech plus ESC-50 noise. The claim is "fine-tuned for telephony-band noisy speech",
not "trained on emergency calls".
- Read speech only. LibriSpeech is audiobook English. Spontaneous, accented, distressed or
overlapping speech is out of distribution and was not measured.
- Worse on clean audio (+0.87 pp), as shown above.
- The per-utterance SNR labels are measured before the channel, so the SNR breakdown sorts by an
approximate condition. The repo's
evaluation audit covers
this flaw. The headline corpus-level numbers do not depend on those labels.
- One seed, one training run, 300 eval utterances. English only. 30 s maximum input (Whisper's window).
License
MIT, same as the code. The base model is MIT (OpenAI). LibriSpeech is CC BY 4.0. ESC-50 is CC BY-NC 3.0.