Can AI understand Tunisian Arabic (derja)? Tests, tips and prompts
ChatGPT, Gemini and other AIs still struggle with Tunisian derja. What the research says, our copy-ready test prompts and the prompting tips that really help.
In 30 seconds
- According to TounsiBench (EMNLP 2025), most AIs that claim Arabic support struggle to recognise and answer in Tunisian derja.
- A 2026 audit found that a reference test, TunisianMMLU, was largely written in another dialect (Moroccan): 86% defects in a sample.
- No official ChatGPT/Gemini/Claude derja ranking exists as of 25/11/2026. Here are our test prompts and the tips that help.
Contents 7
AI models understand Tunisian derja only partly, and they remain far less reliable than in Modern Standard Arabic or French. That is the conclusion of TounsiBench, a benchmark presented at EMNLP 2025: of ten models that claim Arabic support, most struggle to recognise Tunisian and to respond properly. As of 25 November 2026, no published study directly compares ChatGPT, Gemini and Claude on derja. So this guide gives you what the research says, test prompts you can run yourself, and the tips that genuinely improve the answers.
What the benchmarks say (TounsiBench, TunisianMMLU)
TounsiBench contains 744 instructions in Tunisian Arabic, each with a gold answer written by a human. Ten large language models that claim Arabic support were evaluated on it. The authors' verdict: most have trouble recognising derja and responding appropriately.
A second paper, presented at MRL 2026 in Budapest in October 2026, uncovered a more surprising problem. TunisianMMLU, a test meant to measure AI knowledge in Tunisian, was largely… not Tunisian. Of 21,500 items, 63.4% were flagged automatically, and the main defect (55.1%) is a Moroccan present-tense prefix. After manual adjudication of a 400-item sample, the defect rate reached 86%.
Once the text was corrected, every above-chance model gained between 2.3 and 4.9 points, and the authors released a clean version, TunisianMMLU-Verified. The practical lesson: be wary of any "AI in Tunisian" ranking that doesn't explain how it was built.
Finally, a study posted on arXiv in November 2025 built a parallel dataset of Tunizi (derja in Latin letters), derja in Arabic script and English, to test transliteration, translation and sentiment analysis. It found significant differences between models.
- TounsiBench at EMNLP 2025
744 instructions, 10 models tested (month approximate)
- arXiv study 2511.16683
Tunizi, derja and English in parallel
- TunisianMMLU audit
Presented at MRL 2026, Budapest (October 2026)
Why derja is so hard for AI
Three reasons explain these results:
- Little written text. AIs learn from billions of web pages. Derja is mostly written in Facebook comments and messages, rarely in books or on Wikipedia.
- Two alphabets, no spelling standard. People write
برشا,barchaorbarsha;9alforقال,3andiforعندي. This Arabizi (digits used as letters: 3 = ع, 7 = ح, 9 = ق, 5 = خ) multiplies the forms of a single word. - Constant mixing. A Tunisian sentence blends Arabic, French, sometimes Italian or Turkish words. Models easily confuse it with Moroccan, Algerian or Egyptian, as the TunisianMMLU audit showed.
Tips: Arabizi, examples, asking "answer in derja"
These tips are not measured by a study: they are standard prompting practices applied to derja. Test them on your own sentences.
1. Name the dialect, and what it isn't. Models drift towards other dialects. Say it explicitly:
The following text is in Tunisian derja (not Moroccan, not Egyptian).
It may contain French words and Arabizi (3 = ع, 7 = ح, 9 = ق, 5 = خ).
Translate it into English, then explain any words you are unsure of.2. Provide a mini-glossary. Three or four key words are often enough to put the model back on track:
Glossary: barcha = a lot, taw = now, chnowa = what, mouch = not,
9a3ed = in the middle of, yezzi = enough.
Using this glossary, translate into English: "taw 9a3ed nekhdem,
mouch fadi, nkallmek ba3d."3. Show an example answer in Tunisian. To get a reply in derja (not Modern Standard Arabic), set the tone:
Answer only in Tunisian derja, in Arabic letters, like this example:
«باهي، توا نفسرلك خطوة بخطوة».
Question: كيفاش نحضّر روحي لمقابلة شغل؟4. To understand, go through Standard Arabic. When accuracy matters (customer reviews, an important message), first ask for a rewrite in Standard Arabic or English, check it, then work from that text.
Tunisian open models (Labess) and speech recognition
Some models are trained specifically on derja. The best known is Labess-7b-chat by the company LINAGORA: a 7-billion-parameter model built by continuing the training of jais-adapted-7b-chat on a derja corpus, under Apache 2.0. LINAGORA's published derja dataset has about 2.23 million rows.
For speech, there is a long way to go: the whisper-small-tunisian-asr model reports a word error rate (WER) of 37.99% on the TEDxTN set, meaning more than one word in three is transcribed wrongly. And for whisper-large-v3-arabic-dialectal-v2, Tunisian is the hardest of the 13 dialects tested (WER 0.478).
The Tunisian-Derja-NLP-Resources repository lists open datasets and models for Tunisian: the right starting point if you are building a chatbot or a review-analysis tool for a Tunisian audience.
The HexaLab test protocol (prompts included)
We are not publishing scores: without a rigorous test set and multiple reviewers, a ranking would be misleading. Instead, here is a protocol to run yourself on ChatGPT, Gemini, Claude or Meta AI, with the same prompts, in a new conversation each time. Gemini officially lists Arabic support in Tunisia, and Meta AI has spoken Arabic in WhatsApp since February 2025, but "Arabic" does not mean "derja": that is exactly what these tests check.
- 1Same prompt
Paste it unchanged into each AI
- 2New conversation
No helpful history
- 3Check the meaning
Is the translation right?
- 4Check the dialect
Does it answer in Tunisian or drift?
Test 1, comprehension (Arabic script):
Translate into English: "يعيشك، نحب نبدّل الموعد متاعي لنهار الخميس،
خاطر عندي امتحان الصباح."Test 2, Arabizi:
Translate into English: "ya5i 3andi mochkla m3a el wifi, ye9ta3 kol
chwaya, chnowa ne3mel?"Test 3, answer in derja:
Jaweb bel derja tounsia barka: kifech nnadhem wa9ti fi l'examen?Test 4, customer reviews (business use):
Classify these reviews as positive, negative or neutral, and explain in
one line: 1) "el service mte3kom ma ye3jebch" 2) "ya3tik essa7a, el
commande wslet fi wa9tha" 3) "mouch khayeb ama ghali chwaya".Test 5, identify the dialect:
Is this sentence Tunisian, Moroccan or Algerian? Justify using the
words: "nheb nemchi lel b7ar ghodwa m3a shabi".What to note for each answer: is the meaning right? Did the AI reply in Tunisian, or drift towards Standard Arabic, Moroccan (بزاف) or Egyptian? Did it invent a word's meaning instead of admitting it didn't know? For more, see our guide to the best free AI chatbots in Tunisia and our prompting guide for Arabic and French.
FAQ
Can ChatGPT speak Tunisian?
Nobody has measured it publicly: no study published as of 25 November 2026 scores its derja performance. Research on ten models that claim Arabic support shows most still struggle. Test it with our prompts.
Which AI understands derja best?
No official ranking exists. Run our five test prompts on two or three AIs and compare them on your own sentences.
Can AI translate derja to English?
It can, but quality varies a lot between models according to the November 2025 arXiv study. Say "Tunisian derja", add a mini-glossary and ask the AI to flag uncertain words.
Is there a Tunisian AI?
LINAGORA's Labess-7b-chat is an open model trained on derja, under Apache 2.0. It is aimed at developers more than the general public.
Does AI understand spoken derja?
Still poorly: Tunisian is the hardest of 13 dialects for a specialised Whisper model, and a dedicated model shows nearly 38% word errors.
HexaLab's take
Derja remains a blind spot for AI, and even the tests meant to measure it turned out to be partly wrong. That is bad news for users, but a real opportunity for Tunisian researchers and start-ups: the open data and models exist, what is missing is serious evaluation and products. Meanwhile, write in Standard Arabic or French whenever the answer matters.
Verified sources
- ACL Anthology — TounsiBench: Benchmarking LLMs for Tunisian Arabic (EMNLP 2025) aclanthology.org
- ACL Anthology — Is TunisianMMLU Actually Tunisian? (MRL 2026) aclanthology.org
- arXiv 2511.16683 — How Well Do LLMs Understand Tunisian Arabic? arxiv.org
- Hugging Face — linagora/Labess-7b-chat-16bit huggingface.co
- GitHub — jjlalli/Tunisian-Derja-NLP-Resources github.com
- Google Gemini Help — Where the Gemini app is available support.google.com
- TechCrunch — Meta AI arrives in the Middle East and Africa with Arabic (24/02/2025) techcrunch.com
Written and checked by HexaLab from the sources listed.