Downloads · 30 days
14
22% of all-time downloads
mohammedkhas/customized-ar-translator
customized-ar-translator is a text generation model from mohammedkhas. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as apache-2.0.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
14
22% of all-time downloads
All-time downloads
65
Public
Repo size
309 MB
Likes
0
Public
Click a slice to open those files.
.safetensors99 MB · 86%
From the Hugging Face model README
This model is a fine-tuned version of Qwen/Qwen2.5-0.5B-Instruct on the trans_finetune_train dataset. It achieves the following results on the evaluation set:
language:
This model is a specialized English-to-Arabic translator designed specifically for the IT and Technology domain.
Unlike standard translators, this model does not translate technical jargon (like "Cloud Computing," "Servers," "Infrastructure") into obscure Arabic terms. Instead, it:
dir="rtl", <span>) for immediate web rendering.It is designed for educational platforms, technical documentation, and learning management systems where students need to learn standard English IT terminology while reading in Arabic.
translated text and the explaining (glossary) text.Input Text: > "Cloud computing is the delivery of IT resources including servers, storage, and databases over the internet."
Model Output (JSON):
'''json { "translated": "<div dir="rtl">إنترنت كمبيوتر (<span dir="ltr">Cloud computing</span>) هو توصيل <span dir="ltr">IT resources</span>، بما في ذلك موارد <span dir="ltr">servers</span> و<span dir="ltr">storage</span> و<span dir="ltr">databases</span>، عبر الإنترنت مع أسعار <span dir="ltr">pay-as-you-go</span>.</div>", "explaining": "<div dir="rtl">Cloud computing: هي تقنية تسمح للمستخدمين ب Retrieving (توصيل) برامج وتطبيقات وبيانات...</div><div dir="rtl">servers: هي مكونات أساسية في نظام تشغيل كمبيوتر...</div>" }'''
This model is fine-tuned specifically for IT contexts. It may not perform well on general conversational English (e.g., translating a novel or a poem).
The output includes HTML tags; if you need plain text, you will need to strip the tags post-processing.
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 1.251 | 0.2 | 10 | 1.1727 |
| 1.0906 | 0.4 | 20 | 1.0423 |
| 0.9856 | 0.6 | 30 | 0.9799 |
| 1.0287 | 0.8 | 40 | 0.9357 |
| 0.998 | 1.0 | 50 | 0.9081 |
| 0.7978 | 1.2 | 60 | 0.8900 |
| 0.7939 | 1.4 | 70 | 0.8629 |
| 0.7864 | 1.6 | 80 | 0.8529 |
| 0.7682 | 1.8 | 90 | 0.8424 |
| 0.7936 | 2.0 | 100 | 0.8330 |
| 0.6651 | 2.2 | 110 | 0.8357 |
| 0.6441 | 2.4 | 120 | 0.8340 |
| 0.6665 | 2.6 | 130 | 0.8300 |
| 0.6833 | 2.8 | 140 | 0.8287 |
| 0.691 | 3.0 | 150 | 0.8289 |