|
# KitKat |
|
|
|
## Usage |
|
|
|
```python |
|
from datasets import load_dataset |
|
|
|
# Load entire dataset |
|
kitkat = load_dataset("mapama247/kitkat") # 950 rows |
|
|
|
# Load only exemples from a specific category |
|
kitkat_allotjament = load_dataset("mapama247/kitkat", "allotjament") # 90 rows |
|
``` |
|
|
|
## Categories |
|
``` |
|
- allotjament: 90 |
|
- banca: 120 |
|
- menjar_domicili: 80 |
|
- comerc: 119 |
|
- lloguer_vehicles: 67 |
|
- transports: 95 |
|
- assegurances: 120 |
|
- ajuntament: 120 |
|
- clinica: 59 |
|
- telefonia: 80 |
|
``` |
|
|
|
## Format |
|
Using the first example as a reference: |
|
``` |
|
{ |
|
"id": 'ed3f7ae9-baaf-46ed-b51f-e3b4344d05ac', |
|
"category": 'allotjament', |
|
"conversation": [ |
|
{'role': 'usuari', 'text': 'Hola, bones', 'intent': 'greetings', 'slots': []}, |
|
{'role': 'agent', 'text': 'Hola, bon dia.', 'intent': None, 'slots': None}, |
|
{'role': 'usuari', 'text': 'Voldria reservar una de les vostres cases rurals per una setmana, durant el Nadal', 'intent': 'new_booking', 'slots': [...]}, |
|
{'role': 'agent', 'text': 'Perfecte. Em podria dir els dies exactes que voldria reservar?', 'intent': None, 'slots': None}, |
|
{'role': 'usuari', 'text': 'Doncs del 22 al 27, si pot ser', 'intent': 'response', 'slots': [...]}, |
|
... |
|
] |
|
} |
|
``` |
|
|
|
The field `slots` is a list of dictionaries with the following keys: `text`, `tag`, `Start_char`, `End_char` |