Translation
Transformers
PyTorch
Safetensors
IndicTrans
text2text-generation
indictrans2
ai4bharat
multilingual
custom_code
Instructions to use ai4bharat/indictrans2-en-indic-dist-200M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ai4bharat/indictrans2-en-indic-dist-200M with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("translation", model="ai4bharat/indictrans2-en-indic-dist-200M", trust_remote_code=True)# Load model directly from transformers import AutoModelForSeq2SeqLM model = AutoModelForSeq2SeqLM.from_pretrained("ai4bharat/indictrans2-en-indic-dist-200M", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
#14 opened 3 months ago
by
VineethkrishnaTitan
Not able to use the model
#13 opened 9 months ago
by
vishaljaingfx
Not able to use the model
🔥 1
4
#12 opened about 1 year ago
by
Rajdgt
superb indic translater
1
#11 opened about 1 year ago
by
subbur
Update tokenization_indictrans.py
#10 opened over 1 year ago
by
VarunGumma
GPU usage?
#8 opened over 1 year ago
by
vparth7
from IndicTransTokenizer import IndicProcessor
➕ 3
#4 opened almost 2 years ago
by
pk12345thn
Adds flax port for IndicTrans2
#2 opened over 2 years ago
by
prikmm