How we measured

November 23, 2026 By: Mahesh CR

An explainer for Six Neurons

How we measured

How do you tell whether an answer is in the right language, and whether an edit has quietly made answers worse?

The question’s language, and the answer’s. We decide both by script. A question written in Devanagari is Hindi; one in Latin script is English. We started with Aya’s own labels and found 27 of the 200 held-out prompts in its Hindi split were written in English, so we stopped trusting labels and read the text. An answer counts as Hindi if it is mostly Devanagari.

The held-out sets. 457 prompts the editor never saw: held-out Aya prompts in both languages, and our own English and Hindi data questions. Each is run with the system line and without it, with thinking off and with it on. Generation is greedy, at temperature 0.

Unseen rules. Three other wordings of the language rule, which neither the editor nor the LoRA saw. One is a close paraphrase, one is looser, and one is written in Hindi.

Text-to-SQL. 100 questions of our own, synthetic, in English and Hindi, over a small database of Indian energy statistics. The model writes SQL; we run it and compare the result rows with the correct ones. This set matters because its system prompt is long and mentions Hindi, so it shows what the edit does in a prompt it was not built for.

Quality. Being in the right language is not enough; the answer has to be as good. A separate model, Gemini 3.8 Flash, compared pairs of answers to the same prompt and said which was better, with the order shuffled so position could not decide it.

The noise floor. Greedy decoding should give the same answer every time. On a GPU it does not quite: batching changes the order of additions, and in 16-bit arithmetic that changes the sums. Two runs of the unedited model agreed word for word on only 180 of 457 prompts. So when a judge prefers one model’s answers a little more often, that is mostly noise. We treat a quality difference as real only when it is large, like the LoRA’s 79 to 43, or when the changes all run one way, like the four SQL questions the edit lost and none it gained.

What we did not measure. Answer quality on tasks far from these, longer conversations, and other Indian languages.

About the Author

Mahesh CR

LinkedIn Profile URL Learn More.
Chatbot Aria

Hello, I am Aria!

Would you like to know anything in particular? I am happy to assist you.

    JK Tech
    Privacy Overview

    This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.