Amharic to English translator and vice versa
# 🌍 Amharic-English Translator — Local Transformer Model
---
## đź“– Overview
This project is a local Amharic-English (and vice versa) translation tool using Facebook's M2M100 multilingual transformer model. It runs locally with a pre-downloaded model for quick and offline translation between English and Amharic.
Built in Python with Hugging Face's `transformers` library, PyTorch/TensorFlow backend support, it provides a simple CLI interface for translating texts interactively.
---
## ⚡ Features
- âś… Offline translation using a local pre-trained M2M100 model
- 🔄 Supports bidirectional translation: English ⇄ Amharic
- đź’¬ Interactive CLI mode with continuous input loop
- 🚀 Quick, low-latency translations with batch decoding
- 🛠️ Easy to extend for other language pairs
- đź§ą Clean, simple Python code structure
---
## 📦 Installation
```bash
git clone
github.com
cd amharic-translator
pip install -r requirements.txt
# Make sure your local model is placed in the /model directory
python translate.py