IndicTrans2
A transformer encoder-decoder that translates English into the 22 scheduled languages of India.
Language · 2,000 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Language
- Parameters
- 1.1B
- Operations
- 2,000
- Framework
- PyTorch
- Recurrent
- No
- Published
- Transactions on Machine Learning Research (arXiv 2023)
- Cited by
- 36 (as of 29 October 2026)
- Authors
- Jay Gala, Pranjal A. Chitale, Raghavan AK and others
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m17560
- Graph hash
- d4bf260313022598aefeb4289a316c16562bec705a421d418ae5e57c599f92f6
- Skeleton hash
- 3629b4308b13b2c1f4008e3855e97b03ded0bbd8e8bc4ed0a6a2455759f1e070
- Architecture hash
- dba6de1f141ecee5a327ea9cc76e464a753fb1f0eeaee92fa38520fb39099236
- Diagram SHA-256
- 018a78065abac687b93f01084406bd6373800db45e92d83ec24293658196a53f
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
IndicTrans2 is a multilingual machine translation model for the 22 scheduled languages of India, the languages listed in the country's Constitution. The paper presents it as the first model to support all 22 languages. The same paper releases the Bharat Parallel Corpus Collection (BPCC), which contains a total of 230M bitext pairs.
The model is a transformer encoder-decoder with 18 encoder layers and 18 decoder layers, an input dimension of 1024, a feedforward dimension of 8192 and 16 attention heads. It uses the GELU activation instead of ReLU, and the paper reports a total parameter count of 1.1B. English and the Indic languages have separate SentencePiece vocabularies of 32K and 128K. Source and target language tags are added to the input to indicate the translation direction. Most Brahmi-family languages are converted by rule to a single script, Devanagari, so the models are effectively trained with five scripts.
This model is the En-Indic 1.1B variant. Because the En-Indic model is trained on script-unified data, its output has to be mapped back to the native script of the target language. The authors also trained compact versions with 211M parameters. The model card now recommends a newer model, Indic-Translate, which it says has better translation capabilities than IndicTrans2.
Key idea. The paper presents IndicTrans2, which it describes as the first model to support all 22 scheduled Indian languages, together with the BPCC parallel corpus and a new benchmark.
- indictrans2
- indictrans 2
- it2
- indic machine translation
- english to indic translation
- indian languages translation
- 22 scheduled languages
- ai4bharat
- multilingual nmt
- en-indic
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{gala2023indictrans2highqualityaccessiblemachine,
title={IndicTrans2: Towards High-Quality and Accessible Machine Translation Models for all 22 Scheduled Indian Languages},
author={Jay Gala and Pranjal A. Chitale and Raghavan AK and Varun Gumma and Sumanth Doddapaneni and Aswanth Kumar and Janki Nawale and Anupama Sujatha and Ratish Puduppully and Vivek Raghavan and Pratyush Kumar and Mitesh M. Khapra and Raj Dabre and Anoop Kunchukuttan},
year={2023},
eprint={2305.16307},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2305.16307},
}