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