Datasets:
id stringlengths 5 12 | category stringclasses 12
values | text stringlengths 20 101 | numbers listlengths 1 4 |
|---|---|---|---|
money000 | money | The scheme provides financial assistance of ₹99,13,316 to each family. | [
"99,13,316"
] |
money001 | money | Please transfer ₹95,216 to complete the booking. | [
"95,216"
] |
money002 | money | The scheme provides financial assistance of ₹14,911 to each family. | [
"14,911"
] |
money003 | money | A penalty of Rs. 79,35,233 will be charged for late payment. | [
"79,35,233"
] |
money004 | money | The scheme provides financial assistance of ₹77,404 to each family. | [
"77,404"
] |
money005 | money | Please transfer ₹20,49,742 to complete the booking. | [
"20,49,742"
] |
money006 | money | The scheme provides financial assistance of ₹41,65,26,828 to each family. | [
"41,65,26,828"
] |
money007 | money | A penalty of Rs. 84,32,45,364 will be charged for late payment. | [
"84,32,45,364"
] |
money008 | money | Your outstanding loan amount is ₹39,65,075 as of today. | [
"39,65,075"
] |
money009 | money | The scheme provides financial assistance of ₹96,557 to each family. | [
"96,557"
] |
money010 | money | The scheme provides financial assistance of ₹78,01,042 to each family. | [
"78,01,042"
] |
money011 | money | Please transfer ₹1,37,11,477 to complete the booking. | [
"1,37,11,477"
] |
money012 | money | Your outstanding loan amount is ₹34,00,29,912 as of today. | [
"34,00,29,912"
] |
money013 | money | A penalty of Rs. 27,673 will be charged for late payment. | [
"27,673"
] |
money014 | money | Please transfer ₹48,44,659 to complete the booking. | [
"48,44,659"
] |
money015 | money | The scheme provides financial assistance of ₹4,96,269 to each family. | [
"4,96,269"
] |
money016 | money | A penalty of Rs. 3,345 will be charged for late payment. | [
"3,345"
] |
money017 | money | The scheme provides financial assistance of ₹95,833 to each family. | [
"95,833"
] |
money018 | money | The scheme provides financial assistance of ₹80,53,48,552 to each family. | [
"80,53,48,552"
] |
money019 | money | A penalty of Rs. 7,959 will be charged for late payment. | [
"7,959"
] |
money020 | money | A penalty of Rs. 16,821 will be charged for late payment. | [
"16,821"
] |
money021 | money | Please transfer ₹92,18,186 to complete the booking. | [
"92,18,186"
] |
money022 | money | Please transfer ₹58,34,10,627 to complete the booking. | [
"58,34,10,627"
] |
money023 | money | Please transfer ₹35,55,14,730 to complete the booking. | [
"35,55,14,730"
] |
money024 | money | Your outstanding loan amount is ₹94,07,03,904 as of today. | [
"94,07,03,904"
] |
money025 | money | A penalty of Rs. 62,68,577 will be charged for late payment. | [
"62,68,577"
] |
money026 | money | The scheme provides financial assistance of ₹87,596 to each family. | [
"87,596"
] |
money027 | money | The scheme provides financial assistance of ₹31,73,40,951 to each family. | [
"31,73,40,951"
] |
money028 | money | Please transfer ₹6,87,01,266 to complete the booking. | [
"6,87,01,266"
] |
money029 | money | Please transfer ₹86,05,31,886 to complete the booking. | [
"86,05,31,886"
] |
lakhcrore030 | lakhcrore | The project cost has been revised to Rs 3.75 lakh. | [
"3.75"
] |
lakhcrore031 | lakhcrore | The insurance cover is ₹1.5 crore per year. | [
"1.5"
] |
lakhcrore032 | lakhcrore | You are eligible for a top-up loan of ₹3.75 lakh. | [
"3.75"
] |
lakhcrore033 | lakhcrore | You are eligible for a top-up loan of ₹1.2 crore. | [
"1.2"
] |
lakhcrore034 | lakhcrore | You are eligible for a top-up loan of ₹12.5 crore. | [
"12.5"
] |
lakhcrore035 | lakhcrore | You are eligible for a top-up loan of ₹250 crore. | [
"250"
] |
lakhcrore036 | lakhcrore | The insurance cover is ₹15 lakh per year. | [
"15"
] |
lakhcrore037 | lakhcrore | The insurance cover is ₹12.5 crore per year. | [
"12.5"
] |
lakhcrore038 | lakhcrore | You are eligible for a top-up loan of ₹7 lakh. | [
"7"
] |
lakhcrore039 | lakhcrore | The insurance cover is ₹1.2 crore per year. | [
"1.2"
] |
lakhcrore040 | lakhcrore | The project cost has been revised to Rs 15 lakh. | [
"15"
] |
lakhcrore041 | lakhcrore | The insurance cover is ₹250 lakh per year. | [
"250"
] |
lakhcrore042 | lakhcrore | You are eligible for a top-up loan of ₹3.75 lakh. | [
"3.75"
] |
lakhcrore043 | lakhcrore | The insurance cover is ₹0.5 crore per year. | [
"0.5"
] |
lakhcrore044 | lakhcrore | The project cost has been revised to Rs 15 lakh. | [
"15"
] |
lakhcrore045 | lakhcrore | The insurance cover is ₹12.5 crore per year. | [
"12.5"
] |
lakhcrore046 | lakhcrore | The insurance cover is ₹7 crore per year. | [
"7"
] |
lakhcrore047 | lakhcrore | The insurance cover is ₹1.2 lakh per year. | [
"1.2"
] |
lakhcrore048 | lakhcrore | You are eligible for a top-up loan of ₹3.75 lakh. | [
"3.75"
] |
lakhcrore049 | lakhcrore | The insurance cover is ₹3.75 lakh per year. | [
"3.75"
] |
lakhcrore050 | lakhcrore | You are eligible for a top-up loan of ₹2.5 crore. | [
"2.5"
] |
lakhcrore051 | lakhcrore | The insurance cover is ₹15 lakh per year. | [
"15"
] |
lakhcrore052 | lakhcrore | The project cost has been revised to Rs 3.75 crore. | [
"3.75"
] |
lakhcrore053 | lakhcrore | The insurance cover is ₹7 crore per year. | [
"7"
] |
lakhcrore054 | lakhcrore | The insurance cover is ₹2.5 crore per year. | [
"2.5"
] |
paise055 | paise | An amount of ₹5,565.09 has been debited from your account. | [
"5,565.09"
] |
paise056 | paise | Your current balance is ₹597.66. | [
"597.66"
] |
paise057 | paise | An amount of ₹835.51 has been debited from your account. | [
"835.51"
] |
paise058 | paise | An amount of ₹5,160.80 has been debited from your account. | [
"5,160.80"
] |
paise059 | paise | An amount of ₹284.54 has been debited from your account. | [
"284.54"
] |
paise060 | paise | Your current balance is ₹7,302.34. | [
"7,302.34"
] |
paise061 | paise | An amount of ₹2,329.14 has been debited from your account. | [
"2,329.14"
] |
paise062 | paise | Your current balance is ₹3,839.71. | [
"3,839.71"
] |
paise063 | paise | An amount of ₹1,569.95 has been debited from your account. | [
"1,569.95"
] |
paise064 | paise | An amount of ₹5,454.68 has been debited from your account. | [
"5,454.68"
] |
paise065 | paise | Your current balance is ₹6,261.03. | [
"6,261.03"
] |
paise066 | paise | Your current balance is ₹4,992.77. | [
"4,992.77"
] |
paise067 | paise | Your current balance is ₹9,362.35. | [
"9,362.35"
] |
paise068 | paise | Your current balance is ₹2,091.38. | [
"2,091.38"
] |
paise069 | paise | Your current balance is ₹9,572.21. | [
"9,572.21"
] |
percent070 | percent | Inflation rose to 0.5% last month. | [
"0.5"
] |
percent071 | percent | GST of 2.35% will be applied. | [
"2.35"
] |
percent072 | percent | The interest rate on this loan is 99.9% per annum. | [
"99.9"
] |
percent073 | percent | Inflation rose to 0.5% last month. | [
"0.5"
] |
percent074 | percent | The interest rate on this loan is 99.9% per annum. | [
"99.9"
] |
percent075 | percent | Inflation rose to 6.9% last month. | [
"6.9"
] |
percent076 | percent | GST of 8.5% will be applied. | [
"8.5"
] |
percent077 | percent | GST of 10.75% will be applied. | [
"10.75"
] |
percent078 | percent | GST of 2.35% will be applied. | [
"2.35"
] |
percent079 | percent | GST of 8.5% will be applied. | [
"8.5"
] |
percent080 | percent | Inflation rose to 6.9% last month. | [
"6.9"
] |
percent081 | percent | GST of 99.9% will be applied. | [
"99.9"
] |
percent082 | percent | GST of 18% will be applied. | [
"18"
] |
percent083 | percent | The interest rate on this loan is 7.25% per annum. | [
"7.25"
] |
percent084 | percent | GST of 6.9% will be applied. | [
"6.9"
] |
percent085 | percent | Inflation rose to 0.5% last month. | [
"0.5"
] |
percent086 | percent | Inflation rose to 99.9% last month. | [
"99.9"
] |
percent087 | percent | GST of 18% will be applied. | [
"18"
] |
percent088 | percent | GST of 2.35% will be applied. | [
"2.35"
] |
percent089 | percent | GST of 18% will be applied. | [
"18"
] |
date090 | date | The last date to apply is 07/06/2025. | [
"07/06/2025"
] |
date091 | date | The last date to apply is 1 March 2001. | [
"1",
"2001"
] |
date092 | date | The hearing has been scheduled for June 14, 2027. | [
"14",
"2027"
] |
date093 | date | The last date to apply is 14 July 2025. | [
"14",
"2025"
] |
date094 | date | The last date to apply is 24 April 2001. | [
"24",
"2001"
] |
date095 | date | Your next instalment is due on November 9, 2027. | [
"9",
"2027"
] |
date096 | date | The hearing has been scheduled for June 26, 2026. | [
"26",
"2026"
] |
date097 | date | The hearing has been scheduled for 27 July 2027. | [
"27",
"2027"
] |
date098 | date | Your next instalment is due on January 8, 2026. | [
"8",
"2026"
] |
date099 | date | The last date to apply is 05/02/2001. | [
"05/02/2001"
] |
IndicTrans2 Number Fidelity
Does English → Gujarati/Hindi translation keep the numbers exactly right? This set has 255 English sentences with the numbers real banking, government and health messages use (Indian-grouped ₹ amounts, lakh/crore, paise, %, dates, times, phone/OTP/policy numbers, doses, ranges), translated by IndicTrans2 through the official IndicTransToolkit pipeline.
The bug it found
IndicProcessor masks numbers with placeholders so the model copies them unchanged, but it masks common Indian amounts
only in part. The model then copies the leftover digits next to the restored ones:
| Source | After pre-processing (toolkit 1.1.1) | Gujarati output |
|---|---|---|
₹7,302.34 |
₹ 7 , <ID1> |
₹7, 302.34 |
₹1,37,11,477 |
₹ <ID1> , 477 |
₹ 1,37,11, 477 |
Rs 1,00,00,000 |
Rs <ID1> , 000 |
₹1,000 (value changed) |
Fix: VarunGumma/IndicTransToolkit#32.
Results (beam 5)
| Model → language | Split numbers, 1.1.1 → patched | Sentences with all numbers correct | Newly wrong |
|---|---|---|---|
| dist-200M → Gujarati | 26 → 3 | 207 → 230 | 0 |
| dist-200M → Hindi | 27 → 4 | 206 → 229 | 0 |
| 1B → Gujarati | 27 → 4 | 201 → 224 | 0 |
The fix changed only the broken sentences: 11 crore amounts and 12 paise amounts per model. The remaining splits are
8.5% → 8. 5 (short numbers are deliberately not masked). The model never changed a number's value in the
255-sentence set. The remaining "not all correct" rows are mostly formatting, such as 9:15 → 9.15 (common in
Indian writing) and 1.5 crore → 1.50 કરોડ.
Placeholder drops (placeholder_stress, 300 rows)
When the model writes a placeholder without its brackets, the amount is replaced by the placeholder's serial number,
for example The project cost has been revised to Rs 12,34,567 lakh. → … ₹1 લાખ ….
| Toolkit | Number kept | Split | Value lost |
|---|---|---|---|
| 1.1.1 | 235 | 42 | 23 |
| patched (PR #32) | 282 | 0 | 18 |
The 18 that remain happen on the current release too, all in "Rs lakh/crore" phrasing. They need a model-side or post-processing fix, which this PR doesn't attempt.
Configs
sentences(255):id,category,text,numbers(the tokens that must survive unchanged).translations(1,530 = 255 × 3 model/language pairs × 2 toolkit versions):model,tgt_lang,toolkit(1.1.1orpatched (PR #32)),source,preprocessed(what the model actually saw),translation,all_numbers_correct,missing_numbers,split_number(a digit, then,or., then a space, then a digit).placeholder_stress(600 = 150 sentences × gu/hi × 2 toolkits): 5 templates × 5 currency spellings × 6 number shapes, withresult=kept/split/value lost/not masked.
Reproduce
numset.py builds the sentences (seed 20261120). run_it2.py translates and scores them
(python run_it2.py dist-200M guj_Gujr 1B guj_Gujr). test_numeral_placeholders.py is the model-free unit test
from the PR. The 1.1.1 and patched runs were done on GitHub Actions (Linux, CPU, compiled package). A local GPU run
gave identical outputs for all 255 sentences.
Limitations
- The sentences are templated: realistic phrasing, but not real messages. Gujarati and Hindi only, from English.
all_numbers_correctis strict string matching after digit normalization, so formatting variants count as wrong. Usesplit_numberfor the specific bug.
Links
- Fix PR: https://github.com/VarunGumma/IndicTransToolkit/pull/32
- Related: Gujarati TTS Number Reading, gujnorm demo
Citation
@misc{joshi2026it2numbers,
author = {Sinhal Joshi},
title = {IndicTrans2 Number Fidelity},
year = {2026},
url = {https://huggingface.co/datasets/sinhal/indictrans2-number-fidelity}
}
- Downloads last month
- 58