Logo Lanfrica

AbeDevSaga/amharic-english-translator

Domain:

natural language processing

Record type:

software
Creator:
Abe
Host:
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