InferEdge English-to-Telugu adaptation: 100 steps
Research checkpoint fine-tuned by InferEdge AI / VaayuEdge from AI4Bharat IndicTrans2. Not a new architecture, from-scratch model, production-approved system, or proof of commercial-provider superiority.
Checkpoint identity
Upstream: ai4bharat/indictrans2-en-indic-dist-200M, revision 2cfd0a20057756d756bf3e53528f492afc52f91a,211,776,512 parameters. Frozen export-manifest SHA256: 5235276b82864e619e7868d374bfc4acaa21b204c8cf2f99addbf347c6575515. All13 export files verified against this manifest. Files from the frozen export remain unchanged; research documentation is added separately. Preserve AI4Bharat MIT license and notices (LICENSE and ATTRIBUTION.md).
Training and data
100 full-parameter optimizer steps, AdamW learning rate2e-6, batch2, accumulation1, seed42, PyTorch Lightning2.6.6. Approximately200 examples processed, below one epoch over7673 training rows. Training data: AI4Bharat BPCC-H-Daily Telugu, source revision 5bde309374f21c39e7c3d505f28ae11f58f2a220, file daily/tel_Telu.tsv. The Daily-component upstream README specifies CC-BY-4.0; this must not be generalized to unrelated BPCC components.8511 cleaned pairs split into7673train/412validation/426test by normalized-source hash. Exact normalized-source decontamination against IN22 found no overlap; near duplicates and upstream pretraining exposure remain unresolved. Training corpus/reference data is not redistributed here.
Validation loss selects the exported checkpoint; generation-based internal validation is a separate screen. The1000-step run used TeslaT4 and verified full-state periodic save/resume before its main loop. The100-step run used CPU. No held-out-driven tuning of this release is claimed.
Measured results
All412 internal validation examples: chrF++ 55.0722, BLEU 22.7545, zero empty outputs. Upstream validation baseline: chrF++54.1698, BLEU21.3407. Validation is used for selection and is not an unbiased final test. Metrics: SacreBLEU2.6.0, case-sensitive13a BLEU and chrF++ character order6/word order2; three beams,max256tokens,batch4,CPU4threads. Exact signatures, corpus hashes and environment are in benchmarks/.
Frozen-checkpoint held-out evaluation (same CPU environment and decoding):
| Corpus | N | Base chrF++ | This model chrF++ | Base BLEU | This model BLEU |
|---|---|---|---|---|---|
| BPCC internal test | 426 | 53.6451 | 54.6040 | 19.9198 | 21.5296 |
| IN22 conversation | 1503 | 44.6710 | 44.8902 | 13.0600 | 13.5208 |
| IN22 general | 1024 | 51.4335 | 51.3796 | 18.2014 | 18.2476 |
Exploratory paired1000-resample chrF++ delta95% percentile intervals: BPCC[+0.3810,+1.6155], conversation[+0.0173,+0.4114], general[-0.1698,+0.0633]. No multiple-comparison adjustment or training-seed uncertainty. General-domain improvement is unproven. Full reports are in benchmarks/.
Loading
Reviewed custom code is required. Pin a Hub commit when downloading; inspect the included code and verify frozen file hashes before enabling trust_remote_code. Tested with Transformers4.51.3, IndicTransToolkit1.1.1, PyTorch2.6.0 for offline reload. Upstream model and tokenizer must receive the required IndicProcessor preprocessing/postprocessing:
import torch
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
from IndicTransToolkit.processor import IndicProcessor
repo = "ravivarmapatturi/inferedge-indictrans2-en-te-100steps-v1"
tokenizer = AutoTokenizer.from_pretrained(repo, trust_remote_code=True)
model = AutoModelForSeq2SeqLM.from_pretrained(repo, trust_remote_code=True).eval()
processor = IndicProcessor(inference=True)
texts = processor.preprocess_batch(["Please turn off the lights."], src_lang="eng_Latn", tgt_lang="tel_Telu")
inputs = tokenizer(texts, padding=True, return_tensors="pt")
with torch.inference_mode():
outputs = model.generate(**inputs, num_beams=3, max_length=256)
print(processor.postprocess_batch(tokenizer.batch_decode(outputs, skip_special_tokens=True), lang="tel_Telu"))
Limits and provenance
Native Telugu human review, repeat-seed experiments, fresh confirmatory evaluation, phone/browser export parity and named-device RAM/latency/energy measurements remain pending. This is text translation, not a complete ASR/TTS conversation system. No edge-readiness, SOTA, arXiv acceptance or universal superiority claim. Training/evaluation source and manifests are included in reproducibility/. Raw checkpoints and complete original outputs remain retained in the author's Kaggle account; benchmark reports here preserve the actual scope of each run.
AI4Bharat: https://github.com/AI4Bharat/IndicTrans2 ; paper https://arxiv.org/abs/2305.16307 . SacreBLEU reporting: https://aclanthology.org/W18-6319/ .