Results
Lower is better. "Spelling-aware error" counts wrong, missing and added words per 100 words, but forgives spelling-style variants that both mean the same word (hai / hain, Subham / Shubham). Plain WER counts every spelling difference as an error.
Table with columns: Test set, Base model (spelling-aware / WER), This model (spelling-aware / WER)| Test set | Base model (spelling-aware / WER) | This model (spelling-aware / WER) |
|---|
| YouTube Hinglish, 9 channels never seen in training (858 clips, 4.1 h) | 19.7 / 31.7 | 9.0 / 12.1 |
| Human-transcribed 10-minute Hinglish conversation | 11.0 / 20.5 | 5.1 / 8.1 |
| Common Voice (Hindi test, Roman reference) | 21.8 / 39.5 | 15.0 / 22.0 |
| FLEURS (Hindi test, Roman reference) | 19.9 / 33.9 | 12.8 / 21.5 |
| IndicVoices (Hindi subset, Roman reference) | 22.8 / 38.0 | 15.1 / 22.7 |
Devanagari output on all sets: 0%. Base model = Oriserve/Whisper-Hindi2Hinglish-Apex. All numbers use the ct2/ copy with greedy decoding.
Quick start
faster-whisper (recommended, fastest):
from huggingface_hub import snapshot_downloadfrom faster_whisper import WhisperModel path = snapshot_download("VishalG4u/hinglish-whisper-roman", allow_patterns=["ct2/*"]) + "/ct2"model = WhisperModel(path, device="cuda", compute_type="float16") # CPU: device="cpu", compute_type="int8" segments, _ = model.transcribe("audio.wav", language="en", without_timestamps=True, beam_size=5)print(" ".join(s.text.strip() for s in segments))
For a 4 GB GPU, download ct2-int8/* instead and use compute_type="int8_float16".
Transformers:
import librosafrom transformers import WhisperForConditionalGeneration, WhisperProcessor model = WhisperForConditionalGeneration.from_pretrained("VishalG4u/hinglish-whisper-roman")processor = WhisperProcessor.from_pretrained("VishalG4u/hinglish-whisper-roman") audio, _ = librosa.load("audio.wav", sr=16000)features = processor(audio, sampling_rate=16000, return_tensors="pt").input_featuresids = model.generate(features, language="en", task="transcribe", return_timestamps=False)print(processor.batch_decode(ids, skip_special_tokens=True)[0])
Usage tips
- Always set
language="en" and turn timestamps off. The model was trained in plain-text mode. Timestamp mode can loop or produce junk on short clips.
- Don't pass a prompt or custom vocabulary. It was trained with an empty prompt, and adding one makes results worse.
- Keep the temperature fallback / compression-ratio check on (the default in faster-whisper). It catches rare repetition loops.
- Silence: on clips with no speech it may invent a word. Use a VAD (
vad_filter=True in faster-whisper) or drop segments with no_speech_prob > 0.6.
- Beam search:
beam_size=5 is slightly more accurate than greedy at almost no extra cost.
Files
Table with columns: Folder, What it is, Use it for| Folder | What it is | Use it for |
|---|
/ (root) | Transformers weights (fp32 safetensors), tokenizer, processor | Transformers inference, further fine-tuning |
ct2/ | CTranslate2 fp16 | faster-whisper / CTranslate2 on a GPU |
ct2-int8/ | CTranslate2 int8_float16, half the size, ~0.1 point less accurate | 4 GB GPUs, CPU |
Training data
About 244 hours of speech:
- ~218 h of real Hinglish speech from about 500 public YouTube channels (talks, podcasts, vlogs, interviews, and about 100 h of Hindi tech tutorials)
- 26 h of synthetic speech (TTS) rich in names and numbers
Clips were kept only when one person speaks at a time. They were transcribed with Gemini under strict Roman-script spelling rules, then spelling-normalised. Background noise was mixed into 30% of clips during training. The training data is not released.
Training setup
- Full fine-tune of all weights with AdamW: peak learning rate 2.5e-6 decaying to zero over 4 epochs, effective batch size 16.
- Best checkpoint chosen by dev loss.
- Trained on a single 80 GB GPU in under 2 hours.
Limitations
- Names: about 1 in 5 proper names is still wrong or spelled unusually.
- Numbers: numbers are sometimes written in words and sometimes in digits.
- Overlapping speech: the model was trained on one speaker at a time, so overlapping voices reduce accuracy.
- Spelling: Roman-script Hindi has no standard spelling. The output follows one consistent style (e.g. kaafi, nahi), which may differ from your own.
- Long audio: the model works on 30-second windows. Use faster-whisper's built-in chunking or split the audio yourself.
Fine-tuning further
Start from the root weights. Set decoder_start_token_id = 50258 (<|startoftranscript|>) and train without timestamp tokens and with the language token en, so training matches inference.
License
Apache 2.0, the same as the base model (Oriserve/Whisper-Hindi2Hinglish-Apex, itself built on openai/whisper-large-v3-turbo).