Jay2500's picture
model card: code-switching, jw token
541af41 verified
|
Raw History Blame Contribute Delete
1.35 kB
---
license: apache-2.0
base_model: openai/whisper-tiny
language:
- ceb
- fil
- en
tags:
- whisper
- lora
- cebuano
- code-switching
- asr
---
# whisper-tiny-ceb-lora
Whisper tiny with a LoRA adapter merged in, for **Cebuano-dominant code-switching** (Filipino and English words mixed into Cebuano).
**One fixed language token.** Cebuano is trained and decoded with Whisper's **Javanese** token `<|jw|>` (Whisper has no Cebuano token). Every clip, including the Filipino and English ones, is trained under `jw`, so the model writes those words inside a Cebuano sentence. Always decode with `language="jw"`; do not use auto-detect.
Trained on google/fleurs (ceb_ph + fil_ph + en_us), stitched mixed utterances (Cebuano clip + Filipino/English clip, at most 40% non-Cebuano), and no real code-switched data yet.
| Test set | WER % zero-shot | WER % LoRA |
|---|---|---|
| Cebuano | 103.8 | 35.3 |
| Filipino | 108.1 | 44.4 |
| English | 21.5 | 21.2 |
| Mixed (stitched) | 95.3 | 37.8 |
Zero-shot = the original Whisper tiny decoded with `jw`. 300 test utterances per language; the stitched set joins clips only at their boundaries, so it is easier than real code-switching.
Old-style Cebuano baseline (zero-shot, Tagalog token): 77.8.
Files: Hugging Face weights (merged), `adapter/` (LoRA only), `ggml-tiny-ceb.bin` (whisper.cpp / whisper.rn).