Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# KitKat
|
| 2 |
+
|
| 3 |
+
## Categories
|
| 4 |
+
- allotjament: 90
|
| 5 |
+
- banca: 120
|
| 6 |
+
- menjar_domicili: 80
|
| 7 |
+
- comerc: 119
|
| 8 |
+
- lloguer_vehicles: 67
|
| 9 |
+
- transports: 95
|
| 10 |
+
- assegurances: 120
|
| 11 |
+
- ajuntament: 120
|
| 12 |
+
- clinica: 59
|
| 13 |
+
- telefonia: 80
|
| 14 |
+
|
| 15 |
+
## Format
|
| 16 |
+
```
|
| 17 |
+
{
|
| 18 |
+
"id": 'ed3f7ae9-baaf-46ed-b51f-e3b4344d05ac',
|
| 19 |
+
"category": 'allotjament',
|
| 20 |
+
"conversation": [
|
| 21 |
+
{'role': 'usuari', 'text': 'Hola, bones', 'intent': 'greetings', 'slots': []}
|
| 22 |
+
{'role': 'agent', 'text': 'Hola, bon dia.', 'intent': None, 'slots': None}
|
| 23 |
+
{'role': 'usuari', 'text': 'Voldria reservar una de les vostres cases rurals per una setmana, durant el Nadal', 'intent': 'new_booking', 'slots': [...]}
|
| 24 |
+
{'role': 'agent', 'text': 'Perfecte. Em podria dir els dies exactes que voldria reservar?', 'intent': None, 'slots': None}
|
| 25 |
+
{'role': 'usuari', 'text': 'Doncs del 22 al 27, si pot ser', 'intent': 'response', 'slots': [...]}
|
| 26 |
+
]
|
| 27 |
+
}
|
| 28 |
+
```
|
| 29 |
+
|
| 30 |
+
## Usage
|
| 31 |
+
|
| 32 |
+
```python
|
| 33 |
+
from datasets import load_dataset
|
| 34 |
+
|
| 35 |
+
# Load entire dataset
|
| 36 |
+
kitkat = load_dataset("mapama247/kitkat") # 950 rows
|
| 37 |
+
|
| 38 |
+
# Load only exemples from a specific category
|
| 39 |
+
kitkat_allotjament = load_dataset("mapama247/kitkat", "allotjament") # 90 rows
|
| 40 |
+
```
|