A fine-tuned version of Helsinki-NLP/opus-mt-tc-big-en-ar specialized for Egyptian Arabic dialect translation.
This model translates English text into Egyptian Arabic (العامية المصرية), the most widely spoken Arabic dialect. It was fine-tuned on Egyptian Arabic translation pairs, making it more accurate for colloquial Egyptian Arabic compared to the base model which targets Modern Standard Arabic (MSA).
en) → Egyptian Arabic (ar)from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("Omar-youssef/english-egyptian-arabic-translation-v1")
model = AutoModelForSeq2SeqLM.from_pretrained("Omar-youssef/english-egyptian-arabic-translation-v1")
def translate(text):
inputs = tokenizer.encode(text, return_tensors="pt")
outputs = model.generate(inputs, num_beams=4, early_stopping=True)
return tokenizer.decode(outputs[0], skip_special_tokens=True)
print(translate("A novel is a long prose narrative that usually describes fictional characters and events in the form of a sequential story."))
# Output: الرواية هي رواية نثرية طويلة عادةً بتصف شخصيات وأحداث خيالية في شكل قصة متتابعة.
print(translate("The rapid advancement of artificial intelligence is transforming many industries, creating new opportunities while also raising important ethical and social concerns."))
# Output: التقدم السريع للـ Artificial Intelligence بيغير صناعات كتير، وبيخلق فرص جديدة وفي نفس الوقت بيثير اهتمامات أخلاقية واجتماعية مهمة.
Translate English sentences or short paragraphs into Egyptian Arabic dialect. Suitable for:
Fine-tuned exclusively on the Egyptian Arabic Omar-youssef/English-Egyptian-Arabic-Translation-Pairs dataset.
Egyptian Arabic onlyseed=42)| Metric | Description | Range | Better When |
|---|---|---|---|
| BLEU | N-gram overlap between predictions and references | 0 → 1 | Higher ↑ |
| Metric | Score |
|---|---|
| BLEU | 0.6985 |
BLEU of 0.6985 (69.85%) indicates high-quality translations with strong overlap against Egyptian Arabic references.
If you use this model, please cite the base model and dataset:
@misc{omar-youssef-egyptian-translation,
author = {Omar Youssef},
title = {English to Egyptian Arabic Translation Model},
year = {2026},
publisher = {Hugging Face},
url = {https://huggingface.co/Omar-youssef/english-egyptian-arabic-translation-v1}
}
For questions or feedback, open a discussion on this model's Hugging Face page.