MohammedMediani/darija-aicc-api
1
Darija NLU API ๐
   
A professional REST API for Natural Language Understanding (NLU) in Moroccan Arabic (Darija). Designed to power intelligent contact centers and automated support systems.
๐ Ecosystem
๐ Quick Usage
Endpoint: /predict (POST)
Request:
{
"text": "bghit n3raf solde dyali"
}Response:
{
"intent": "consulter_solde",
"confidence": 0.985
}Try it with cURL
curl -X 'POST' \
'https://mohammedmediani-darija-aicc-api.hf.space/predict' \
-H 'Content-Type: application/json' \
-d '{"text": "llah ykhalik bghit nchof factura"}'๐ Features
- 9 Intent Categories: From balance checks (
consulter_solde) to technical support (declarer_panne). - High Performance: Fine-tuned MARBERTv2 achieving >92% F1-score.
- Production Ready: Built with FastAPI, utilizing async capabilities and robust error handling.
- Code-Switching: Handles mixed Darija/French input natively.
๐ License
Apache 2.0
