A Comparative Benchmark of a Moroccan Darija Toxicity Detection Model (Typica.ai) and Major LLM-Based Moderation APIs (OpenAI, Mistral, Anthropic)

Hicham Assoudi
5/5/2025
cs.CL

No official code found. Best implementation: assoudi-typica-ai/darija-toxicity-benchmark (0 stars, last commit 2025-05-04).

Abstract

This paper presents a comparative benchmark evaluating the performance of Typica.ai's custom Moroccan Darija toxicity detection model against major LLM-based moderation APIs: OpenAI (omni-moderation-latest), Mistral (mistral-moderation-latest), and Anthropic Claude (claude-3-haiku-20240307). We focus on culturally grounded toxic content, including implicit insults, sarcasm, and culturally specific aggression often overlooked by general-purpose systems. Using a balanced test set derived from the OMCD_Typica.ai_Mix dataset, we report precision, recall, F1-score, and accuracy, offering insights into challenges and opportunities for moderation in underrepresented languages. Our results highlight Typica.ai's superior performance, underlining the importance of culturally adapted models for reliable content moderation.

View on arXivView PDF

Code Implementations(1)

Reproducibility materials and evaluation notebook for the paper: A Comparative Benchmark of a Moroccan Darija Toxicity Detection Model (Typica.ai) and Major LLM-Based Moderation APIs

00Jupyter NotebookMay 4, 20251 years agoNOASSERTION

Similar Papers

Cite this paper

@article{assoudi2025comparative,
  title  = {A Comparative Benchmark of a Moroccan Darija Toxicity Detection Model (Typica.ai) and Major LLM-Based Moderation APIs (OpenAI, Mistral, Anthropic)},
  author = {Hicham Assoudi},
  year   = {2025},
  eprint = {2505.04640},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.04640v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.04640.svg)](https://codeofpaper.com/paper/2505.04640)

Discussion