IndicConformer 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 मा |
| IndicConformer (before fine-tuning) | हामीसँग यहाँनिर यो प्रोग्राम छ यसलाई मैले अलरेडी त्यही कोडलाई चाहिँ यतातिर कपी गरेको छु नोट प्याडमा |
| This model | हामीसँग यहाँनिर यो program छ यसलाई मैले already त्यही code लाई चाहिँ यतातिर copy गरेको छु note pad मा |
AI4Bharat's Nepali IndicConformer (hybrid RNN-T/CTC) fine-tuned for code-mixed speech. Its original vocabulary has no Latin letters, so we replaced it with a new 5,000-piece vocabulary trained on our transcripts and re-trained the decoders (128M parameters in total), so it is small and fast.
Files
| File | |
|---|---|
indicconformer-ne-en-codemix.nemo | fine-tuned model, best validation WER (6 epochs) |
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 | |
|---|---|---|---|---|---|---|
| IndicConformer (before fine-tuning) | 49.1 | 37.2 | 100.0 | 29.3 | 22.2 | 29.1 |
| This model | 19.9 | 11.3 | 26.5 | 17.4 | 32.2 | 26.4 |
WER per test domain:
| OpenSLR (read) | Lectures | Podcast | News & talk | Conversation | Interviews | |
|---|---|---|---|---|---|---|
| IndicConformer (before fine-tuning) | 16.3 | 51.5 | 48.0 | 53.0 | 54.4 | 61.5 |
| This model | 12.0 | 17.8 | 23.5 | 25.0 | 21.3 | 18.6 |
Before fine-tuning, IndicConformer has no Latin letters in its vocabulary, so it writes every English word in Devanagari, and every English word counts as an error.
Usage (NeMo 2.x)
from huggingface_hub import hf_hub_download
from nemo.collections.asr.models import ASRModel
path = hf_hub_download("ailabpvtltd/indicconformer-nepali-english-codemix-asr", "indicconformer-ne-en-codemix.nemo")
model = ASRModel.restore_from(path).eval()
print(model.transcribe(["clip_16khz_mono.wav"], batch_size=8)[0].text)
Input: 16 kHz mono audio. The RNN-T decoder is the default; the CTC head gives 21.8% WER.
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. Pretrained encoder kept (115M), new 5,000-piece BPE vocabulary, decoders re-initialised (13M). AdamW, learning rate 1e-3 for the new decoders and 1e-4 for the encoder, 5% warm-up and cosine decay; 64 utterances per update, bf16; 6 epochs (9,888 updates, 3 h on one RTX 5090).
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, IndicConformer (AI4Bharat), 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}
}