Whisper-small fine-tuned for Cantonese (Hong Kong) — CTranslate2 int8
openai/whisper-small fine-tuned on Hong Kong Cantonese speech from
Mozilla Common Voice 27.0 (zh-HK). It transcribes spoken Cantonese into written Cantonese in traditional
characters (e.g. 「我住喺堅尼地城站附近」), instead of converting it to Mandarin as the original model tends to do.
粤语语音识别模型:在 Common Voice 27.0 香港粤语数据上微调的 Whisper-small,输出粤语口语字(繁体)。
CTranslate2 int8 conversion of Ming224/whisper-small-cantonese for faster-whisper. 237 MB; about 0.4× real time on a laptop CPU.
Built as a course project for IERG4320 / IEMS5726A Data Science in Practice (CUHK, 2026–27 Term 1).
Usage
Whisper-small has no dedicated Cantonese language token, so the model was trained (and should be used) with
language="zh".
from faster_whisper import WhisperModel
model = WhisperModel("Ming224/whisper-small-cantonese-ct2", device="cpu", compute_type="int8")
segments, _ = model.transcribe("audio.mp3", language="zh", beam_size=5)
print("".join(s.text for s in segments))
Training data
- Mozilla Common Voice 27.0, locale
zh-HK(CC0-1.0) - Training set: 19,942 validated clips, 22.6 hours, 303 speakers, selected from
validated.tsv - Speakers and sentences that appear in the official
dev/testsplits were excluded from training, so test sentences were never seen during training - At most 5 recordings of the same sentence and at most 20 minutes per speaker, to keep the data balanced
Training procedure
| Setting | Value |
|---|---|
| Base model | openai/whisper-small (242M parameters, all fine-tuned) |
| Steps | 4,000 (about 3.2 epochs); best checkpoint at step 3,500 |
| Batch size | 8 × 2 gradient accumulation = 16 |
| Learning rate | 1e-5, 500 warm-up steps, linear decay |
| Precision | fp16, one NVIDIA T4 (Google Colab), about 2 h 50 min |
| Target text | normalised: no punctuation, Hong Kong traditional characters |
Results
CER = character error rate (lower is better). Text is normalised before scoring: punctuation removed, simplified → Hong Kong traditional characters (OpenCC s2hk), unambiguous variant characters unified.
- Validation set (500 utterances from the official
devsplit): 10.71% CER (best checkpoint, step 3500)
Full official test split (5,604 utterances, 1,241 speakers; faster-whisper, int8, beam size 5):
| Model | CER |
|---|---|
| whisper-tiny (zero-shot) | 58.8% |
| whisper-base (zero-shot) | 47.3% |
| whisper-small (zero-shot) | 37.0% |
| this model | 10.2% |
Out-of-domain: real-world Cantonese (WSYue-ASR-eval short set — vlogs, news, conversation with fillers and code-switching; fixed random 500 utterances; both sides converted to simplified characters before scoring because the references are in simplified script):
| Model | CER |
|---|---|
| whisper-small (zero-shot) | 42.2% |
| this model | 21.8% |
The model is clearly worse on spontaneous speech than on read speech, because all training data is read speech: sentence-final particles (啊、啦、呢 …) are often dropped or written differently.
The biggest gain is on colloquial Cantonese characters (喺、唔、嘅、佢、哋 …): the zero-shot model writes them as their Mandarin equivalents (在、不、的、他、們), the fine-tuned model writes them correctly about 93% of the time.
Limitations
- Trained on short read speech (median 3.7 s). Spontaneous conversation, background noise, and long recordings are not covered by the training data; long audio should be split (e.g. with a VAD) before transcription.
- Remaining errors are mostly homophones, especially in place names and personal names.
- The output has no punctuation, because the training targets were normalised.
- Common Voice speakers are not balanced in gender or age; performance on under-represented groups may be lower.
- Downloads last month
- 53
Model tree for Ming224/whisper-small-cantonese-ct2
Base model
openai/whisper-small