File size: 1,302 Bytes
7c4fac4 e608596 7c4fac4 0fed172 7c4fac4 0fed172 7c4fac4 0fed172 7c4fac4 8644c48 0fed172 7c4fac4 e608596 |
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 |
# 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` |