Softsasi's picture
Update README.md
667571f verified
|
Raw History Blame Contribute Delete
3.63 kB
---
language:
- en
- bn
license: apache-2.0
task_categories:
- text-generation
- conversational
tags:
- ecommerce
- restaurant
- food-delivery
- tool-calling
- function-calling
- agentic
- bangla
- banglish
- chatml
- synthetic
size_categories:
- 1K<n<10K
configs:
- config_name: default
data_files:
- split: train
path: train.jsonl
- split: validation
path: validation.jsonl
---
# Commerce-1-Order-AI-Dataset (Trilingual Tool-Calling & Ordering)
Part of the **[Softsasi](https://huggingface.co/Softsasi)** Enterprise AI Suite (`Neural-1-Verify` · `Insight-1-ERP-Analytics` · `Commerce-1-Order-AI`).
A structured, community-ready **1,900-conversation** multi-turn ChatML dataset (`1,800` train / `100` validation) featuring **`3,826` validated `<tool_call>` JSON payloads** across **11 tool actions** in **English (`en`)**, **Bangla (`bn`)**, and **Romanized Banglish (`banglish`)**—built for autonomous restaurant ordering, cart editing, table reservations, order tracking/cancellation, and multi-vendor e-commerce workflows.
- **8B LoRA Model:** [`Softsasi/Commerce-1-Order-AI`](https://huggingface.co/Softsasi/Commerce-1-Order-AI)
- **8B GGUF (`Q4_K_M`) Model:** [`Softsasi/Commerce-1-Order-AI-GGUF`](https://huggingface.co/Softsasi/Commerce-1-Order-AI-GGUF)
- **Live ZeroGPU Demo:** [`Softsasi/Commerce-1-Order-AI-Demo`](https://huggingface.co/spaces/Softsasi/Commerce-1-Order-AI-Demo)
---
## Dataset Composition & Viewer Columns
Each JSONL row includes structured metadata columns for filtering in Hugging Face Dataset Viewer alongside the standard ChatML `messages` array (`id`, `domain`, `language`, `task_type`, `tools_used`, `num_turns`, `messages`).
| Split | File | Rows | Domains (`restaurant` / `ecommerce`) | Languages (`en` / `bn` / `banglish`) | Size |
| :--- | :--- | :---: | :---: | :---: | :---: |
| `train` | `train.jsonl` | 1,800 | `1,480` / `320` | `661` / `793` / `346` | ~5.03 MB |
| `validation` | `validation.jsonl` | 100 | `84` / `16` | `39` / `42` / `19` | ~280.4 KB |
All conversations are **synthetic and schema-grounded** (no real customer PII), modeled after real `101`-dish restaurant catalogs (`15` categories, `৳79–৳1,049 BDT`) and Laravel/REST multi-vendor cart, checkout, coupon, and tracking APIs.
---
## Task & Tool-Calling Coverage (`train` split)
| Task Type | Conversations | Key Tools / Guardrails Covered |
| :--- | :---: | :--- |
| `multi_turn_order` | 828 | `add_to_cart`, `apply_coupon`, `search_products`, `place_order` (subtotal + delivery confirmation + out-of-stock handling) |
| `order_tracking_and_cancel` | 280 | `track_order` (Order ID or phone), `cancel_order` (enforces 5-min pre-kitchen window), `escalate_to_human` |
| `menu_discovery` | 220 | `search_menu` (budget filtering, category lookup, meal + drink combos, Halal & hours grounding) |
| `cart_modification` | 200 | `remove_from_cart`, `update_cart` (live subtotal recalculation in EN/BN/Banglish) |
| `table_reservation` | 112 | `book_table` (party size, seating, 11:00 AM–11:00 PM operating-hour check) |
| `escalation_and_safety` | 80 | `escalate_to_human` (severe nut-allergy safety & duplicate payment debit triage) |
| `nlu_json_routing` | 80 | Strict JSON intent/entity extraction for CRM & WhatsApp webhook pipelines |
---
## Quick Load (`datasets`)
```python
from datasets import load_dataset
ds = load_dataset("Softsasi/Commerce-1-Order-AI-Dataset")
sample = ds["train"][0]
print(sample["domain"], sample["language"], sample["tools_used"])
print(sample["messages"])
```
- **Curated by:** [Softsasi](https://huggingface.co/Softsasi) · **License:** Apache-2.0