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|
| 4 |
+
license: other
|
| 5 |
+
task_categories:
|
| 6 |
+
- text-classification
|
| 7 |
+
- conversational
|
| 8 |
+
task_ids:
|
| 9 |
+
- intent-classification
|
| 10 |
+
- sentiment-classification
|
| 11 |
+
tags:
|
| 12 |
+
- ecommerce
|
| 13 |
+
- customer-service
|
| 14 |
+
- synthetic
|
| 15 |
+
- intent
|
| 16 |
+
- sentiment
|
| 17 |
+
- chatbot
|
| 18 |
+
- dialogue
|
| 19 |
+
- jsonl
|
| 20 |
+
size_categories:
|
| 21 |
+
- 1K<n<10K
|
| 22 |
---
|
| 23 |
+
|
| 24 |
+
# EcommerceAI Dataset — English E-commerce Customer Service
|
| 25 |
+
|
| 26 |
+
## Dataset Description
|
| 27 |
+
|
| 28 |
+
A high-quality **synthetic** English-language dataset of e-commerce
|
| 29 |
+
customer service conversations with full intent and sentiment annotations.
|
| 30 |
+
|
| 31 |
+
> ⚠️ **Transparency Notice:** This is a synthetic dataset. All conversations
|
| 32 |
+
> are programmatically generated. No real customer data is included.
|
| 33 |
+
> Every record is labeled `"data_type": "SYNTHETIC"` in metadata.
|
| 34 |
+
|
| 35 |
+
---
|
| 36 |
+
|
| 37 |
+
## Dataset Stats
|
| 38 |
+
|
| 39 |
+
| Metric | Value |
|
| 40 |
+
|--------|-------|
|
| 41 |
+
| Conversations | 5,000 |
|
| 42 |
+
| Dialogue Turns | 47,028 |
|
| 43 |
+
| Avg Turns/Conversation | 9.4 |
|
| 44 |
+
| Language | English |
|
| 45 |
+
| Issue Categories | 5 |
|
| 46 |
+
| Product Categories | 10 |
|
| 47 |
+
| Intent Classes | 12 |
|
| 48 |
+
|
| 49 |
+
---
|
| 50 |
+
|
| 51 |
+
## Issue Categories
|
| 52 |
+
|
| 53 |
+
| Category | Count |
|
| 54 |
+
|----------|-------|
|
| 55 |
+
| Late Delivery | 1,000 |
|
| 56 |
+
| Wrong Item Received | 1,000 |
|
| 57 |
+
| Refund Request | 1,000 |
|
| 58 |
+
| Damaged Item | 1,000 |
|
| 59 |
+
| Product Inquiry | 1,000 |
|
| 60 |
+
|
| 61 |
+
---
|
| 62 |
+
|
| 63 |
+
## Data Schema
|
| 64 |
+
|
| 65 |
+
```json
|
| 66 |
+
{
|
| 67 |
+
"id": "uuid-v4",
|
| 68 |
+
"metadata": {
|
| 69 |
+
"domain": "ecommerce_customer_service",
|
| 70 |
+
"issue_type": "late_delivery",
|
| 71 |
+
"product_category": "electronics",
|
| 72 |
+
"language": "en",
|
| 73 |
+
"data_type": "SYNTHETIC",
|
| 74 |
+
"quality_tier": "enterprise",
|
| 75 |
+
"turns_count": 10
|
| 76 |
+
},
|
| 77 |
+
"conversation": [
|
| 78 |
+
{
|
| 79 |
+
"role": "user",
|
| 80 |
+
"content": "My order hasn't arrived in 7 days.",
|
| 81 |
+
"intent": "late_delivery",
|
| 82 |
+
"sentiment": "negative"
|
| 83 |
+
},
|
| 84 |
+
{
|
| 85 |
+
"role": "agent",
|
| 86 |
+
"content": "I'm sorry to hear that. Let me check your order.",
|
| 87 |
+
"intent": "acknowledge",
|
| 88 |
+
"sentiment": "positive"
|
| 89 |
+
}
|
| 90 |
+
]
|
| 91 |
+
}
|
| 92 |
+
```
|
| 93 |
+
|
| 94 |
+
---
|
| 95 |
+
|
| 96 |
+
## Quick Load
|
| 97 |
+
|
| 98 |
+
```python
|
| 99 |
+
# Option 1 — HuggingFace Datasets
|
| 100 |
+
from datasets import load_dataset
|
| 101 |
+
ds = load_dataset("YOUR_USERNAME/ecommerce-cs-dataset")
|
| 102 |
+
|
| 103 |
+
# Option 2 — Pure Python
|
| 104 |
+
import json
|
| 105 |
+
conversations = []
|
| 106 |
+
with open('ecommerce_cs_en_synthetic.jsonl') as f:
|
| 107 |
+
for line in f:
|
| 108 |
+
conversations.append(json.loads(line))
|
| 109 |
+
|
| 110 |
+
# Filter by issue type
|
| 111 |
+
refunds = [c for c in conversations
|
| 112 |
+
if c['metadata']['issue_type'] == 'refund_request']
|
| 113 |
+
```
|
| 114 |
+
|
| 115 |
+
---
|
| 116 |
+
|
| 117 |
+
## Use Cases
|
| 118 |
+
|
| 119 |
+
- ✅ Fine-tuning LLMs for customer service chatbots
|
| 120 |
+
- ✅ Training intent classifiers (12 classes)
|
| 121 |
+
- ✅ Training sentiment analysis models
|
| 122 |
+
- ✅ Dialogue state tracking research
|
| 123 |
+
- ✅ Augmenting real-world datasets
|
| 124 |
+
- ✅ Testing chatbot pipelines
|
| 125 |
+
|
| 126 |
+
---
|
| 127 |
+
|
| 128 |
+
## 🔒 Full Dataset (Commercial License)
|
| 129 |
+
|
| 130 |
+
This repository contains a **free sample of 500 conversations.**
|
| 131 |
+
|
| 132 |
+
The full dataset **(5,000 conversations, 47K+ turns)** with commercial
|
| 133 |
+
license is available here:
|
| 134 |
+
|
| 135 |
+
👉 **[Get Full Dataset on Sellix → YOUR_SELLIX_LINK]**
|
| 136 |
+
|
| 137 |
+
Includes:
|
| 138 |
+
- Full 5,000 conversation JSONL
|
| 139 |
+
- Complete JSON array format
|
| 140 |
+
- Data card & documentation
|
| 141 |
+
- Commercial use license
|
| 142 |
+
|
| 143 |
+
---
|
| 144 |
+
|
| 145 |
+
## License
|
| 146 |
+
|
| 147 |
+
Sample (this repo): CC BY-NC 4.0 — free for research & personal use.
|
| 148 |
+
Full dataset: Commercial license — see Sellix listing for terms.
|
| 149 |
+
|
| 150 |
+
---
|
| 151 |
+
|
| 152 |
+
## Citation
|
| 153 |
+
|
| 154 |
+
If you use this dataset in research, please cite:
|