Skip to content
All projects

Personal project · public or synthetic data

Speech-to-text, French and English

Which Whisper, on which runtime and precision, measured on French and English, with noise, language identification and product names.

Key results

faster-whisper vs transformers, same model
2.2×
product names recognised with hotwords (52 % without)
88 %
language identified on a whole sentence
100 %
real-time factor on CPU (GPU: 0.045)
0.72
int8 cost nothing measurable and saved 45 % of GPU memory; a list of product names lifted their recognition from 52 % to 88 % in French.

One protocol for every option

600 sentences from FLEURS (300 French, 300 English, about 100 minutes), the same normalization for reference and transcript, the same decoding everywhere, and a paired bootstrap interval on every difference. Five model sizes, three runtimes (faster-whisper, transformers, Groq’s hosted API), fp16 and int8, GPU and CPU.

Then what breaks it in practice: other people talking (babble at 20 to 0 dB), how much audio language identification needs, and product names ("Qdrant", "LangGraph") spoken in sentences, with and without hotwords. The chosen configuration is served by a FastAPI transcription API and used by the voice agent.

Size matters more in French

From small to turbo, French WER drops by 7.4 points and English by 1.9: a French product should not be judged on an English benchmark. turbo in int8 matches fp16 (intervals across zero) for 45 % less GPU memory, and matches the hosted API. For the same model, faster-whisper is 2.2× faster than the reference implementation; on CPU, small runs at 0.72× real time, too slow for interaction.

turbo holds up to 10 dB of babble (11 % WER in French). At 0 dB the WER exceeds 100 %: insertions alone are 67 % of the reference words, the model transcribes the other speakers. That is a microphone or separation problem, not a model-size one.

Word error rate by model, French and English: tiny 37.3 and 13.2, base 25.6 and 9.8, small 13.4 and 6.7, turbo 6.0 and 4.8, turbo on the Groq API 5.8 and 4.9.
FLEURS, 300 sentences per language.Figure produced by the project code
WER against signal-to-noise ratio for small and turbo int8: turbo stays near 6 to 11 % down to 10 dB, both exceed 100 % at 0 dB.
Babble from four other speakers.Figure produced by the project code

Product names without training

Without help, "LangGraph et interroge Qdrant" came out as "*l’âme Graf* et interroge *Cudran*". Passing the list of terms as hotwords lifted their recognition from 52 % to 88 % in French (81 % to 96 % in English) without hurting ordinary speech with turbo (6.1 % → 6.0 % WER). The smaller model gains more but starts hearing the listed words where they were not said (14.2 % → 16.1 % WER): with it, the list should be switched on per context.

Share of product names recognised by Whisper turbo: no help 52 % French and 81 % English, hotwords 88 % and 96 %, prompt 85 % and 96 %.
A list of terms, no training.Figure produced by the project code

Limitations

FLEURS is read speech recorded cleanly: spontaneous speech, accents and overlaps are harder, so the absolute WERs are best cases. The product-name sentences are synthesised (a French voice pronouncing English names the French way). Diarization, long-form audio and fine-tuning are not measured.