AI Deploy Network
AI Evaluation FrameworkGovernment 11/30/2026

Malayalam speech recognition: Whisper fine-tune and an open, leakage-free ASR evaluation framework

Open-source Malayalam ASR (fine-tuned Whisper-small) plus a reproducible benchmark that scores 7 Indic ASR models for accuracy, speed and memory on a 2-core CPU. Used in a live Malayalam voice assistant.

Hours Automated
0
Cost Savings
Currency not specified
Revenue Impact
Currency not specified

Business Challenge

Malayalam speech recognition was weak, and published scores could not be trusted. Auditing my own combined corpus showed that 41.6% of test sentences also appeared in training, so test scores were inflated. Teams choosing a Malayalam ASR model also had no fair way to compare accuracy against speed and memory on the cheap CPUs where most Indian-language users and public services actually run. The goal was an accurate, CPU-friendly Malayalam model and an honest benchmark to compare models on the same clean data.

Solution Delivered

- Data: merged six public Malayalam speech corpora into one 96.6k-utterance dataset (86.9k train / 4.8k val / 4.8k test), published on Hugging Face. Exact-hash and fuzzy near-duplicate matching removed leaked test rows; the clean held-out set has 2,684 rows, with a 231-clip source-balanced evaluation set. - Model: fine-tuned Whisper-small (fits CPU and 4 GB devices) on free Kaggle GPUs with a checkpoint-per-session workflow; v2 used a higher learning rate after a paper showed the usual one caps accuracy. - Deployment formats: Transformers FP32, CTranslate2 int8 (faster-whisper) and whisper.cpp GGML Q8_0, with model cards documenting limitations. - Benchmark framework: one transcribe() interface for 6 model families (Transformers, CTranslate2, IndicConformer CTC/RNNT, wav2vec2, NeMo); WER/CER with 95% bootstrap confidence intervals and paired significance tests, per-source breakdown, real-time factor and peak RAM on a 2-core CPU, and an 'unseen sources' WER that exposes training-data overlap in competitor models. - Found and patched hidden output caps (220 tokens in whisper.cpp, 224 in CTranslate2) that silently cut Malayalam speech longer than ~8 s.

Outcomes Achieved

- v1: 37.64% WER on Common Voice vs 61.84% for the previous best public Malayalam Whisper model, with a 3x smaller model. - v2 on the leakage-free set: 31.2% WER / 4.0% CER (v1: 43.5% / 7.3%); every source improved. - Choosing between v2 and IndicConformer outputs with a character language model: 31.2% -> 26.4% WER (statistically significant), no retraining. - Output-cap fix: whisper.cpp Q8_0 WER 37.1% -> 31.4% on the same clips. - Quantisation: Q8_0 / int8 within ~0.2 WER points of FP32; CTranslate2 int8 about 1.9x faster on CPU. - 7-model leaderboard: v2, IndicConformer and Adalat AI's Koyal are statistically tied (~30-31% WER); IndicConformer and Koyal are ~13x faster on CPU, which set the next goal (a Malayalam-optimised tokenizer). - Model, dataset and benchmark are public; the model powers the speech-recognition stage of a live Malayalam voice assistant.

Measurable Business Outcome

AI performance: Malayalam WER reduced from 43.5% (v1) to 31.2% (v2) on a leakage-free test set, and to 26.4% with model combination; corrected an inflated evaluation by removing 41.6% train-test leakage; long-utterance accuracy restored by patching inference output caps (37.1% -> 31.4% WER); int8/Q8_0 CPU deployment within ~0.2 WER points of FP32.