docs: add model card with intent schema and training plan
Browse files
README.md
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- text-classification
|
| 4 |
+
- intent-detection
|
| 5 |
+
- gcc
|
| 6 |
+
- e-commerce
|
| 7 |
+
- agentic-commerce
|
| 8 |
+
- ocg-dubai
|
| 9 |
+
- gulf-retail
|
| 10 |
+
language:
|
| 11 |
+
- en
|
| 12 |
+
- ar
|
| 13 |
+
pipeline_tag: text-classification
|
| 14 |
+
license: mit
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# GCC Intent Classifier v2
|
| 18 |
+
|
| 19 |
+
> Built by [OCG Dubai](https://ocg-dubai.ae) — Agentic Commerce APIs for the GCC
|
| 20 |
+
|
| 21 |
+
A text classification model for detecting customer intents in GCC e-commerce conversations. Supports English and Arabic queries across common retail interaction patterns.
|
| 22 |
+
|
| 23 |
+
## Intents
|
| 24 |
+
|
| 25 |
+
| Intent | Example |
|
| 26 |
+
|--------|---------|
|
| 27 |
+
| `product_search` | "Show me gold jewelry under 500 AED" |
|
| 28 |
+
| `order_status` | "Where is my order?" |
|
| 29 |
+
| `return_request` | "I want to return this item" |
|
| 30 |
+
| `price_inquiry` | "How much is the Samsung S24?" |
|
| 31 |
+
| `complaint` | "The delivery was late" |
|
| 32 |
+
| `recommendation` | "What do you suggest for Eid gifts?" |
|
| 33 |
+
| `store_info` | "What are your opening hours?" |
|
| 34 |
+
| `payment_help` | "Can I pay with Tamara?" |
|
| 35 |
+
|
| 36 |
+
## Usage
|
| 37 |
+
|
| 38 |
+
```python
|
| 39 |
+
from transformers import pipeline
|
| 40 |
+
|
| 41 |
+
classifier = pipeline("text-classification", model="GencoDiv/intent-classifier-gcc-v2")
|
| 42 |
+
result = classifier("I want to return the shoes I bought yesterday")
|
| 43 |
+
# [{'label': 'return_request', 'score': 0.95}]
|
| 44 |
+
```
|
| 45 |
+
|
| 46 |
+
## Status
|
| 47 |
+
|
| 48 |
+
⚠️ **Model weights pending upload.** This card documents the intended architecture and training plan. Model files will be uploaded after fine-tuning on GCC e-commerce conversation data.
|
| 49 |
+
|
| 50 |
+
## Training Plan
|
| 51 |
+
|
| 52 |
+
- **Base model:** `distilbert-base-multilingual-cased`
|
| 53 |
+
- **Fine-tuning data:** GCC e-commerce customer service logs (anonymized)
|
| 54 |
+
- **Languages:** English + Gulf Arabic
|
| 55 |
+
- **Target accuracy:** >90% on held-out test set
|