Skip to content

About

How well do LLMs understand the way India actually types? An open, community-built benchmark for code-mixed Indian languages (Hinglish, Tanglish, Manglish...)

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

KhichdiBench 🍲

How well do language models understand the way India actually types?

CI License: Apache-2.0 Cases: CC-BY-4.0 PRs welcome

"kal ka plan cancel kar de, mujhe office mein late tak rukna padega" "padam kollam pakshe second half kurachu lag aanu"

Hundreds of millions of people in India write like this every day: Hindi, Tamil, Malayalam and a dozen other languages mixed with English, often in Roman script. Most language-model benchmarks test clean, single-language text instead.

KhichdiBench is an open, reproducible benchmark for code-mixed Indian languages. It combines existing openly licensed datasets with cases written by native speakers, and it reports how scores change as text gets more mixed.

Leaderboard

Live, sortable version: KhichdiBench on Hugging Face Spaces. Zero-shot, greedy decoding, 300 cases per task.

# Model Avg mt-en
chrf++
mt-romanized
chrf++
tanglish-sts
Spearman ×100
Roman script
% of answers
Run on
1 Qwen/Qwen3-1.7B 41.4 56.5 11.6 56.3 0% GPU fp16
2 HuggingFaceTB/SmolLM2-1.7B-Instruct 36.8 39.4 10.2 60.7 0% GPU fp16
3 Qwen/Qwen2.5-1.5B-Instruct 29.4 44.0 9.2 35.0 1% GPU fp16
4 Qwen/Qwen2.5-0.5B-Instruct 21.1 30.6 13.5 19.2 14% GPU fp16
5 Qwen/Qwen3-0.6B 18.5 41.6 13.9 0.0† 15% GPU fp16
6 sarvamai/sarvam-1 18.2 28.2 7.5 18.7 5% CPU fp32
7 HuggingFaceTB/SmolLM2-360M-Instruct 10.9 25.1 9.5 -1.8 — CPU fp32

Roman script = share of romanized-Hindi answers written entirely in Roman script, which is what the task asks for. The rest contain Devanagari (or are empty).

† Gave every pair the same rating, so the correlation is undefined and reported as 0.

Missing a model? Request it: open models up to 3B parameters are evaluated automatically on free CI runners. For bigger models, run them yourself and open a PR with results/<model>.json.

Full table, including the code-mixing breakdown: LEADERBOARD.md.

Baseline findings

  • No model can write Hindi in Roman script. When asked to rewrite a sentence "in Roman (Latin) script the way people type on WhatsApp", at most 15% of any baseline model's answers are fully in Roman script (the Roman script column); the 1.7B models manage 0%. The best mt-romanized score is 13.9 chrF++. This is how hundreds of millions of people actually type, and these models can't produce it.
  • Mixed sentences are harder to translate. Every model scores lower on code-mixed sentences than on unmixed ones, by 6-12 chrF++ in its weaker mixed bucket (Qwen3-1.7B: 63.6 unmixed → 51.4 heavy). The buckets hold different sentences, so this is a correlation; controlled minimal pairs are on the roadmap.
  • Size isn't everything. SmolLM2-1.7B ranks below Qwen2.5-1.5B on translation but beats every Qwen model on Tanglish similarity. Qwen3-0.6B translates better than Qwen2.5-0.5B but rates every Tanglish pair as "0".

Quickstart

git clone https://github.com/codewithcid/khichdibench && cd khichdibench
uv sync --extra local                       # drop --extra local if you have no GPU

uv run khichdi list                         # tasks and community case counts
uv run khichdi run --backend hf --model Qwen/Qwen2.5-1.5B-Instruct --limit 300
uv run khichdi report                       # leaderboard from results/*.json

Any OpenAI-compatible endpoint works too (Ollama, vLLM, LM Studio, OpenRouter, Hugging Face Inference Providers):

uv run khichdi run --backend openai --base-url http://localhost:11434/v1 --model qwen2.5:7b

Tasks

Task Language What the model does Metric Source (license)
comi-lingua/mt-en Hinglish (Devanagari + Latin) Translate into English chrF++ COMI-LINGUA (CC-BY-4.0)
comi-lingua/mt-romanized Hinglish → romanized Hindi Rewrite in Roman-script Hindi, WhatsApp style chrF++ COMI-LINGUA (CC-BY-4.0)
tanglish-sts Tanglish (romanized) Rate meaning similarity, 0-5 Spearman TanglishSTS (CC-BY-4.0)
community/<lang>/<task> any of 12 language pairs classification, translation, rating accuracy / chrF++ / Spearman community cases (CC-BY-4.0)

What we found while building it

Datasets labeled "code-mixed" are often much less mixed than they look. In the COMI-LINGUA translation test set, 55% of sentences contain news-style glosses in parentheses, like "रश्मि देसाई (Rashami Desai)". Remove those, and 43% of sentences contain no code-mixing at all: they're Hindi news sentences. KhichdiBench therefore measures mixing with the glosses removed and reports scores separately for none, light and heavy mixing. It's also why community cases written by native speakers, in the way people actually text, matter so much.

We also dropped COMI-LINGUA's matrix-language task: its test set is 98.9% "Hindi", so a model that always answers "Hindi" would score 98.9%.

Contribute

You don't need to know any ML to help. See CONTRIBUTING.md.

  • 🗣️ Speak a code-mixed language? Write 10 cases in 20 minutes.
  • ✅ Check other people's cases. A community case counts only after two other native speakers approve it on GitHub. Find PRs in your language under the needs-validation label, or merged files in CONTRIBUTORS.md. Everyone who writes or validates a case is credited in CONTRIBUTORS.md.
  • 🐍 Write Python? Add a dataset adapter or a backend, or pick a good first issue.

How scoring works

  • Deterministic sampling. --limit N takes the same N cases on every machine (sorted by a hash of the case id), so results are comparable.
  • Zero-shot, greedy decoding, one user message per case. Reasoning blocks (<think>…</think>) are stripped before scoring.
  • Classification: the output is mapped to a choice (exact match → text after "answer:" → earliest whole-word match). Unparseable answers count as wrong and are reported as unparsed.
  • Translation: sentence-level chrF++ against all references, averaged.
  • Rating: Spearman correlation with human scores. Unparseable answers get the scale midpoint.
  • Code-Mixing Index (Das & Gambäck, ICON 2014) per input, using script as a proxy for language, with parenthesised glosses removed. Fully romanized text has no CMI yet (help wanted).

Roadmap

  • v0.1: core suite, 3 dataset tasks, community case format, baselines on small open models
  • v0.2: first community cases in 5+ languages, review flow for validators, more datasets, minimal pairs (the same sentence written unmixed and mixed) to measure the mixing penalty directly
  • v0.3: live leaderboard on Hugging Face Spaces; requested and newly released open models (up to 3.2B) are evaluated automatically on free CI runners
  • Later: a speech track for code-mixed voice agents

Related work

  • Indic LLM-Arena (AI4Bharat) ranks models by human pairwise votes, including code-mixed prompts. KhichdiBench is complementary: automatic, reproducible, and open data.
  • IndicLLMs includes a Hinglish column, where top models score 95-100. We focus on harder, more heavily mixed and romanized text across many language pairs.
  • CodeMixBench (EMNLP 2025) evaluates code-mixing across 18 languages worldwide, including Hindi, Bengali, Marathi, Nepali and Tamil. Its reasoning sets (code-mixed MMLU, GSM8K and TruthfulQA) are synthesized from English benchmarks. KhichdiBench is narrower and complementary: Indian language pairs only, text written by people rather than generated, scores broken down by how heavily each input is mixed, and an open-ended suite that grows through community contributions.
  • Datasets: COMI-LINGUA, Indi-RomCoM, LinCE, TanglishSTS.

License and citation

Code: Apache-2.0. Community cases: CC-BY-4.0. Imported datasets keep their own licenses. Please cite them, too. Citation metadata: CITATION.cff.

About

How well do LLMs understand the way India actually types? An open, community-built benchmark for code-mixed Indian languages (Hinglish, Tanglish, Manglish...)

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages