Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available:
6.9.0
metadata
title: IndicTrans2Translator
emoji: 🔥
colorFrom: red
colorTo: red
sdk: gradio
sdk_version: 5.35.0
app_file: app.py
pinned: false
short_description: IndicTrans2 1B Model Translation
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
IndicTrans2 Translation Tool
A comprehensive translation application using the IndicTrans2 1B model for translating between English and Indian languages.
Features
- Text Translation: Direct text input and output
- Document Translation: Upload PDF/DOCX files and download translated documents
- Multi-language Support: 22+ Indian languages including Hindi, Bengali, Tamil, Telugu, and more
- User-friendly Interface: Clean, intuitive design with tabbed interface
Supported Languages
- English (en)
- Assamese (asm)
- Bengali (ben)
- Bodo (brx)
- Dogri (doi)
- Gujarati (guj)
- Hindi (hin)
- Kannada (kan)
- Kashmiri (kas)
- Konkani (gom)
- Maithili (mai)
- Malayalam (mal)
- Manipuri (mni)
- Marathi (mar)
- Nepali (nep)
- Oriya (ory)
- Punjabi (pan)
- Sanskrit (san)
- Santali (sat)
- Sindhi (snd)
- Tamil (tam)
- Telugu (tel)
- Urdu (urd)
Usage
Text Translation
- Select the "Text Translation" tab
- Enter or paste your text in the input box
- Choose source and target languages
- Click "Translate Text"
- View the translated text in the output box
Document Translation
- Select the "Document Translation" tab
- Upload a PDF or DOCX file
- Choose source and target languages
- Click "Translate Document"
- Download the translated document when ready
Technical Details
- Models: ai4bharat/indictrans2-en-indic-1B and ai4bharat/indictrans2-indic-en-1B
- Framework: Transformers, PyTorch
- Interface: Gradio
- Supported File Types: PDF, DOCX
- Output Format: Matches input format (text → text, document → document)
- Translation Directions: English ↔ Indic languages
Model Information
This application uses the IndicTrans2 1B model developed by AI4Bharat. The model is specifically designed for high-quality translation between English and Indian languages.
License
This project follows the licensing terms of the underlying IndicTrans2 model and its dependencies.