π A powerful multilingual text translator built using mBART50 from Facebook AI, fine-tuned on high-quality open datasets from OPUS Books and IIT Bombay.
π Supports translations between English β Spanish, French, Italian, Portuguese, and Hindi.
- π Translate between 5+ languages using mBART50
- π Trained on OPUS Books and IIT Bombay English-Hindi corpora
- β‘ Fast & light inference
- π§ Powered by π€ Transformers, PyTorch
- π Clean and easy-to-use Streamlit web UI
- Base Model:
facebook/mbart-large-50-many-to-many-mmt
- Fine-Tuned On:
opus_books
(en-es, en-fr, en-it, en-pt)iitb_en_hi
(en-hi)
Tool | Description |
---|---|
π€ Transformers | Model loading & fine-tuning |
π PyTorch | Deep learning backend |
π§ͺ Hugging Face Datasets | Dataset provider |
π Streamlit | Web frontend interface |
π GitHub | Version control |
Follow these steps to set up and run the translator app on your local machine:
# 1. Clone the repository
git clone https://github.com/ayush2635/AI-Powered-Multilingual-Translator.git
cd AI-Powered-Multilingual-Translator
# 2. Create and activate a virtual environment
python -m venv venv
# On Windows
venv\Scripts\activate
# On macOS/Linux
source venv/bin/activate
# 3. Install dependencies
pip install -r requirements.txt
# 4. Run the Streamlit app
streamlit run app.py