SraVaani fine-tuned for Nepali–English code-mixed speech recognition
Released by AI Lab Pvt. Ltd., Nepal. One of three models fine-tuned on the same Nepali–English code-mixed speech data: SraVaani · Whisper large-v3-turbo · IndicConformer. The output of every model on the test set (text only) is in nepali-english-codemix-asr-test-outputs.
Nepali speakers mix a lot of English into their speech. This model writes what they say the way people type it: Nepali in Devanagari, English words in Latin script.
| Reference | हामीसँग यहाँनिर यो program छ यसलाई मैले already त्यही code लाई चाहिँ यतातिर copy गरेको छु notepad मा |
| SraVaani-1.0 (before fine-tuning) | हामीसँग यहाँनिर यो प्रोग्राम साइजलाई मैले अलरेडी त्यही कोडलाई चाहिँ यतातिर कपी गरेको छु नोटप्याडमा |
| This model (12 epochs) | हामीसँग यहाँनिर यो program छ यसलाई मैले already त्यही code लाई चाहिँ यतातिर copy गरेको छु notepad मा |
SraVaani-1.0 (449M parameters, hybrid TDT–CTC FastConformer) with all parameters fine-tuned. The tokenizer is unchanged.
Files
| File | |
|---|---|
sravaani-ne-en-codemix-12ep.nemo | Recommended. 12 epochs, best validation WER |
sravaani-ne-en-codemix-6ep.nemo | 6 epochs, best validation WER |
Output format
- Nepali in Devanagari, English words in lowercase Latin script
- no punctuation
- numbers and symbols spelled out as words, in the language they were spoken in (ten percent or दस प्रतिशत)
- NFKC-normalised, single spaces
Results
Held-out test set: 4,610 clips (9.1 h) from six domains, about two thirds of them code-mixed. Word error rate (%), greedy decoding; lower is better. "English words" and "Nepali words" are error rates on the reference words of each language. FLEURS is the public Nepali FLEURS test set (586 digit-free clips, out of domain). Its references write English loanwords in Devanagari, so the last column also scores against our code-mixed version of them (test outputs dataset).
| WER | CER | English words | Nepali words | FLEURS WER | FLEURS WER, code-mixed refs | |
|---|---|---|---|---|---|---|
| SraVaani-1.0 (before fine-tuning) | 48.6 | 33.3 | 80.4 | 36.1 | 22.6 | 30.0 |
| Fine-tuned, 6 epochs | 17.1 | 8.0 | 20.1 | 15.9 | 31.1 | 23.4 |
| Fine-tuned, 12 epochs | 16.3 | 7.5 | 18.8 | 15.3 | 31.4 | 24.0 |
WER per test domain:
| OpenSLR (read) | Lectures | Podcast | News & talk | Conversation | Interviews | |
|---|---|---|---|---|---|---|
| SraVaani-1.0 (before fine-tuning) | 62.5 | 43.7 | 47.1 | 55.7 | 54.9 | 62.6 |
| Fine-tuned, 6 epochs | 12.4 | 15.4 | 20.9 | 21.0 | 14.7 | 13.9 |
| Fine-tuned, 12 epochs | 12.1 | 14.8 | 20.1 | 19.0 | 14.7 | 12.8 |
Zero-shot, SraVaani writes 63% of the English words in Devanagari. After fine-tuning, 84% of English words come out exactly right in Latin script.
Usage (NeMo 2.x)
from huggingface_hub import hf_hub_download
from nemo.collections.asr.models import EncDecHybridRNNTCTCBPEModel
path = hf_hub_download("ailabpvtltd/sravaani-nepali-english-codemix-asr", "sravaani-ne-en-codemix-12ep.nemo")
model = EncDecHybridRNNTCTCBPEModel.restore_from(path).eval()
print(model.transcribe(["clip_16khz_mono.wav"], batch_size=8)[0].text)
# optional, faster decoding with the CTC head:
# model.change_decoding_strategy(decoder_type="ctc")
Input: 16 kHz mono audio, clips of up to about 30 s.
Training data
105,448 clips (152.9 h) of Nepali and Nepali–English speech in six domains. The data is not released.
| Subset | Hours (train) | Source | Licence |
|---|---|---|---|
| OpenSLR Nepali (read speech) | 57.6 | OpenSLR 54 | CC BY-SA 4.0 |
| Lectures (engineering, CS) | 44.5 | saileshbro/nepali-cs-asr | CC BY-NC 4.0 |
| Podcast | 28.5 | collected by AI Lab from YouTube | rights remain with the video owners |
| News & talk | 19.6 | collected by AI Lab from YouTube | rights remain with the video owners |
| Conversation | 1.0 | collected by AI Lab from YouTube | rights remain with the video owners |
| Technical interviews | 1.7 | collected by AI Lab from YouTube | rights remain with the video owners |
Our own subsets were collected by keyword search on YouTube, cut into 10–30 s chunks at pauses, transcribed with Gemini, corrected with an LLM and checked by human annotators. Transcripts were then rewritten into the output format above; numbers were spelled out in the language that was spoken, chosen by comparing Nepali and English readings with the base SraVaani model's own output. No medical or patient data was used.
Training
NeMo 2.7, all 449M parameters trained. AdamW (betas 0.9/0.98, weight decay 1e-3), peak learning rate 1e-4 for the decoders and 5e-5 for the encoder, 5% warm-up and cosine decay to 1e-6. 64 utterances per update, bf16, gradient clipping 1.0, loss 0.7 TDT + 0.3 CTC. 12 epochs (19,769 updates, 6 h on one RTX 5090); the 6-epoch model took 3 h.
Intended use and limitations
- Intended for research and non-commercial Nepali–English speech recognition.
- The test split is not guaranteed to be speaker-disjoint from training, so in-domain results may be optimistic.
- Rare technical terms, code identifiers and names are still often misrecognised.
- Output follows our convention, not FLEURS' (FLEURS writes English loanwords in Devanagari).
- Not evaluated for accents, recording conditions or domains outside the six above.
Licence and attribution
Released under CC BY-NC 4.0 (non-commercial), because part of the training data (the lecture corpus) is licensed for non-commercial use only. The base model, SraVaani-1.0 (SPIRE Lab, IISc Bengaluru, and ARTPARK), is MIT-licensed; its copyright notice is kept, and we thank its authors. Please also credit the training data sources listed above.
Content removal: if your content is in the training data and you want it removed from future versions, write to jeevanneupane@ailab.com.np.
Citation
@misc{neupane2026codemix,
title = {Nepali--English Code-Mixed Speech Recognition: From Data Collection to Fine-Tuning Speech Foundation Models},
author = {Neupane, Jeevan and Bhetwal, Janardan and Paudel, Kshitiz and Aryal, Anup and Bashyal, Bipin},
year = {2026},
note = {AI Lab Pvt. Ltd., manuscript in preparation}
}