Executive Summary
Customers in the UAE write to their telecom provider the way they text friends: Gulf Arabic, English, and Arabizi (Arabic typed in Latin letters and numbers), often in the same message. General-purpose AI models handle formal Arabic and English well but misread this everyday mix, so complaints land in the wrong queue and urgent issues wait. GenAI Protos fine-tuned an Arabic-capable small language model on the operator's own de-identified messages to classify complaint type, detect urgency and spot customers likely to escalate. The model runs on private infrastructure and sends unclear messages to an agent instead of guessing.
01Problem Statement
The operator's care team received complaints through WhatsApp, app chat, email and social media. Routing relied on keyword rules and manual sorting, which broke down on mixed-language messages. The operator needed a model that could:
- Understand Gulf Arabic, English and Arabizi, including switching between them mid-sentence
- Assign each message to the right complaint category, such as billing, network, roaming, device or contract
- Detect urgency and signs that a customer may escalate to a formal complaint
- Keep customer data, including phone numbers and Emirates ID details, inside the operator's environment
- Handle peak volumes within agreed latency and running cost
- Send uncertain messages to a human instead of forcing a label
02Our Approach
We began by testing whether fine-tuning was needed. A prompted larger model and the existing keyword rules were run on real messages. Both did reasonably on formal Arabic and English, but struggled with Arabizi and dialect, which confirmed the gap.
Next, bilingual care agents and quality leads agreed on category and urgency definitions, using real messages where agents had routed the same case differently. Customer details were removed with Microsoft Presidio, using custom recognisers for UAE phone formats and Emirates ID numbers. The held-back test set was built around the hardest cases: pure Arabizi, mixed scripts, sarcasm and very short messages.
An Arabic-capable open-weight model was fine-tuned with LoRA adapters. It was compared with the keyword rules and the prompted larger model on accuracy by language type, missed urgent cases, wrong routing, response time and cost. Results were reported separately for Arabic, English, Arabizi and mixed messages, so weaknesses in one language could not hide inside an overall average.

03Outcome
- A fine-tuned model adapter with a private inference setup
- A comparison against keyword rules and a prompted larger model, broken down by language type
- De-identified datasets, a held-back test set and a bilingual labelling guide
- A review workflow that routes unclear messages to agents
- Findings on routing accuracy, missed urgent cases, agent review volume, latency and running cost
04Tech Stack & Ecosystem
Key models, frameworks, and core infrastructure powering this solution.
Keyword rules, a prompted larger open-weight model and a fine-tuned small model compared on the same test set.
Arabic-capable open-weight model in the 3B to 8B range (Qwen / Jais class).
LoRA adapters via Hugging Face PEFT and TRL.
vLLM on private infrastructure.
Microsoft Presidio with custom recognisers for UAE phone numbers and Emirates ID.
Label Studio for bilingual agent labelling and corrections.
MLflow for versioning, per-language regression tests and rollback.
Python pipelines, with no agent framework.
05Client Testimonials
“Our care agents were sorting complaints that mixed Arabic, English and Arabizi, sometimes in a single message. The difficult part was getting urgent cases to the right queue without forcing a label on messages the model did not understand. GenAI Protos tested the small model against our existing rules and a larger model using our de-identified messages. Seeing the results separately for each language helped us identify where agent review was still needed.”