alexmt-qwen3-1.7b-s2-from-base
Context-aware English <-> dialectal Arabic translation of conversational turns: stage 2, full fine-tuning on Alexandria, starting from Qwen/Qwen3-1.7B (no stage 1).
Data. Alexandria train split, 9 varieties (EG, JO, LB, MR, OM, PS, SA, SY, YE), both directions. The train split is divided into 5 conversation-level folds; this model is trained on folds 1-4. Each example includes up to 3 prior turns as context, the domain, the participants and the speaker/addressee gender direction.
Training. Full fine-tuning, bf16, 2 epochs, learning rate 2e-5 (cosine, 3 % warmup), 64 examples per step; the checkpoint with the lowest loss on a 2,000-example sample of Alexandria dev (folds 1-4) is kept.
Results
Not evaluated yet.
Usage
The model expects Alexandria's JSON prompt as a single user turn and answers with
{"translation": "..."}. Apply the tokenizer's chat template with add_generation_prompt=True,
enable_thinking=False.
Translate the given turn of a conversation from English to Egyptian Arabic (Cairene) Dialect, considering the previous context if provided.
Input: {"country": "EG", "domain": "Agriculture and farming", "participants": ["Waterresourcemanager", "Farmer"], "context": [], "current_turn": {"speaker": "Waterresourcemanager", "gender_direction": "male -> male", "text": "Good morning. Is the water reaching your land properly according to the schedule?"}}
Guidelines:
- Return the result strictly in valid JSON.
- Translate to Egyptian Arabic (Cairene) Dialect using Arabic script.
- Do not add any code, explanations, comments, or any other extra text.
- Keep the meaning and tone and respect the gender direction.
- Consider the country, the domain, the participants, and the speaker in your translation.
- Only translate the "text" field of the "current_turn".
- If a context is provided, do not translate it, and use it to inform your translation.
Output scheme: { "translation": "translation of the text from the current turn" }
Licence
CC BY-NC 4.0 (non-commercial), because the training data (Alexandria) is CC BY-NC 4.0. The base model, Qwen3-1.7B, is Apache-2.0.
Citation
If you use this model, please cite the Alexandria dataset:
@inproceedings{elmekki2026alexandria,
title = {Alexandria: A Multi-Domain Dialectal Arabic Machine Translation Dataset for Culturally Inclusive and Linguistically Diverse LLMs},
author = {El Mekki, Abdellah and others},
booktitle = {Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (ACL)},
year = {2026},
url = {https://aclanthology.org/2026.acl-long.1503/}
}