File size: 2,704 Bytes
75c9931
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
---
license: cc-by-nc-4.0
task_categories:
- text-classification
language:
- en
- de
tags:
- classification
- multi-label-classification
- support-tickets
- multilingual
- email-routing
- intent-detection
pretty_name: Bilingual Ticket Classification Dataset
size_categories:
- 1K<n<10K
dataset_info:
  features:
  - name: subject
    dtype: string
  - name: body
    dtype: string
  - name: queue
    dtype: string
  - name: type
    dtype: string
  - name: language
    dtype: string
  splits:
  - name: train
    num_bytes: 3888946
    num_examples: 7940
  download_size: 1906064
  dataset_size: 3888946
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
---

# 📬 Bilingual Ticket Classification Dataset

This dataset is a balanced and augmented version of the [Customer Support Tickets dataset](https://huggingface.co/datasets/Tobi-Bueck/customer-support-tickets), designed for multilingual text classification tasks. It has been balanced across three key features, `language`, `queue`, and `type`, ensuring that each combination contains approximately 100 samples. Balancing was achieved through back-translation and data augmentation techniques applied to the original dataset.

## 📊 Dataset Overview

- **Split**: N/A  
- **Number of rows**: 7,924  
- **Number of features**: 5  

### 🔢 Features and Types

| Feature   | Type     | Description                          |
|-----------|----------|--------------------------------------|
| subject   | string   | Subject line of the support ticket   |
| body      | string   | Full message content                 |
| queue     | string   | Assigned support queue               |
| type      | string   | Ticket category/type                 |
| language  | string   | Language of the ticket (`en` or `de`)|

---

### 🗂️ Feature Values

#### 📮 Queue
Specifies the department to which the ticket is routed:
- Technical Support
- Customer Service
- Billing and Payments
- Product Support
- IT Support
- Returns and Exchanges
- Sales and Pre-Sales
- Human Resources
- Service Outages and Maintenance
- General Inquiry

#### 🌐 Language
Language of the ticket:
- `en` (English)
- `de` (German)

#### 🗂️ Type
Categorizes the nature of the ticket:
- Incident
- Request
- Problem
- Change

---

### 📜 License and Rights

Licensing terms follow the original dataset under **CC BY-NC 4.0**. Please refer to the original dataset page for full details.

---

### 🐍 Usage Example

```python
from datasets import load_dataset

# Load the dataset from Hugging Face Hub
dataset = load_dataset("ale-dp/bilingual-ticket-classification")
```

###  Created by
[Ali Khalaji](https://github.com/alikhalajii)