Field notes · AI Engineering
Running AI on Indian-language data
Models that perform well in English often stumble on mixed-language input from field teams. What we test for.
In short: AI models that perform well in English often struggle with the way people in India actually write and speak: mixed languages, Indian languages typed in Roman script, and speech recorded in noisy places. Before deploying, build a small evaluation set from real user input and test the model against it honestly.
Field teams, customers and citizens rarely write in clean, single-language text. A message may mix Hindi and English, use Roman script for Tamil, or include local abbreviations. Speech input is recorded on a shop floor, in a vehicle or on a busy street.
Code-mixed text and transliteration
Code-mixing means switching between languages within one sentence. Transliteration means writing one language in another's script, such as Hindi typed in Roman letters. Both are common in India and both reduce accuracy for many models. Test classification, extraction and answers on this kind of input specifically.
Speech input from noisy environments
- Record test samples in the real environments where the tool will be used.
- Include different accents, ages and speaking speeds.
- Check how errors in transcription affect the final result, not just the transcription itself.
Building a small, honest evaluation set
Collect a few hundred real examples, with personal data removed, and record the correct outcome for each. Include difficult and unusual cases, not just typical ones. Run every candidate model against the same set and compare results. Repeat the test whenever the model or prompts change.
Design around the gaps
Where accuracy is lower, add confirmation steps, offer choices rather than free text, or route uncertain cases to a person. Tell users which languages are supported, and improve the evaluation set as real usage reveals new patterns.
Frequently asked questions
What is code-mixed text?
Text that switches between two or more languages in the same sentence, such as Hindi and English, which is common in Indian communication.
Do AI models work well in Indian languages?
Performance varies widely by language, script and task. It should be measured on real local data before deployment rather than assumed.
How big should an evaluation set be?
A few hundred carefully labelled real examples, covering typical and difficult cases, is enough to compare models meaningfully.