Nova Whisper Hinglish
Whisper large-v3-turbo, fine-tuned (a LoRA on the decoder and the encoder's last 4 layers, merged) so that one model hears English, Hindi and Hinglish, and writes Hindi in Roman letters ("kal meeting cancel kar do"), the way people type it. Made for Nova, which downloads it automatically; any faster-whisper program can use it.
from faster_whisper import WhisperModel
model = WhisperModel("AyushM1701/nova-whisper-hinglish", device="cuda", compute_type="float16")
segments, _ = model.transcribe("speech.wav", language="hi") # Hindi / Hinglish, in Roman letters
segments, _ = model.transcribe("speech.wav", language="en") # English
Detect the language first (model.detect_language, between en and hi) and decode with it, as Nova does.
Training data
| Corpus | Language | Hours | License | Source |
|---|---|---|---|---|
| IndicTTS Hindi (SPRINGLab) | Hindi / Hinglish | 2.1 h | CC BY 4.0 | https://huggingface.co/datasets/agarwalayushi/hinglish |
| Kathbath (ai4bharat) | Hindi / Hinglish | 4.1 h | CC BY 4.0 | https://huggingface.co/datasets/agarwalayushi/hinglish |
| LibriSpeech | English | 21.6 h | CC BY 4.0 | https://www.openslr.org/12 |
| MUCS 2021 Hindi-English | Hindi / Hinglish | 88.8 h | CC BY-SA 4.0 | https://www.openslr.org/104 |
| Mann Ki Baat (ai4bharat) | English | 7.0 h | CC BY 4.0 | https://huggingface.co/datasets/agarwalayushi/hinglish |
Clips from the agarwalayushi/hinglish aggregate are only those of its corpora licensed CC BY 4.0 (by clip source). Hindi transcripts were written in Roman letters by rule (spoken words kept, never translated); LibriSpeech's capitals were cased and punctuated where stock Whisper heard exactly the same words. A further 20% of clips were made by joining a Hindi clip and an English one, so the model hears language switch inside a sentence (code-mix splicing).
Word error rate on held-out clips
Word error rate / Roman word error rate (any Devanagari in a model's output converted to Roman letters first, by the same rules as the references, so a model is charged for its words, not its script). Lower is better.
| Test set | Whisper large-v3-turbo | This model |
|---|---|---|
| LibriSpeech | 2.7% / 2.7% | 2.4% / 2.4% |
| MUCS 2021 Hindi-English | 92.4% / 77.9% | 45.7% / 45.7% |
| Mann Ki Baat (ai4bharat) | 10.3% / 10.3% | 9.7% / 9.7% |
License
CC BY-SA 4.0, crediting the corpora above (MUCS 2021 is CC BY-SA 4.0: shared alike); the base model, Whisper, is MIT (OpenAI).
- Downloads last month
- 115
Model tree for AyushM1701/nova-whisper-hinglish
Base model
openai/whisper-large-v3