File size: 9,364 Bytes
e4fb397
 
 
 
 
 
 
 
 
 
 
 
 
 
d980c05
e4fb397
de3734e
e4fb397
d980c05
e4fb397
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d980c05
e4fb397
d980c05
e4fb397
d980c05
e4fb397
 
 
 
d980c05
e4fb397
d980c05
e4fb397
d980c05
e4fb397
 
 
 
 
 
 
 
 
a0f782e
 
 
e4fb397
a0f782e
e4fb397
 
 
ea9518b
e4fb397
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
---
configs:
- config_name: bundle-converted
  description: Merge of all rdf converted datasets
  data_files:
  - path: ["dstc2-rdf/train.jsonl","multiwoz-rdf/train.jsonl","sfxdial-rdf/train.jsonl"]
    split: train
  - path: ["dstc2-rdf/test.jsonl","multiwoz-rdf/test.jsonl","sfxdial-rdf/test.jsonl"]
    split: test
  - path: ["dstc2-rdf/validation.jsonl","multiwoz-rdf/validation.jsonl","sfxdial-rdf/validation.jsonl"]
    split: validation
- config_name: bundle-simulated
  description: Merge of all rdf simulated datasets
  data_files:
  - path: ["camrest-sim-rdf/train.jsonl","multiwoz-sim-rdf/train.jsonl"]
    split: train
  - path: ["camrest-sim-rdf/test.jsonl","camrest-sim-rdf/test.jsonl"]
    split: test
  - path: ["camrest-sim-rdf/validation.jsonl","multiwoz-sim-rdf/validation.jsonl"]
    split: validation
- config_name: dstc2
  description: DSTC2 converted to rdf format
  data_files:
  - path: "dstc2-rdf/train.jsonl"
    split: train
  - path: "dstc2-rdf/test.jsonl"
    split: test
  - path: "dstc2-rdf/validation.jsonl"
    split: validation
- config_name: sfxdial
  description: Sfxdial converted to rdf format
  data_files:
  - path: "sfxdial-rdf/train.jsonl"
    split: train
  - path: "sfxdial-rdf/test.jsonl"
    split: test
  - path: "sfxdial-rdf/validation.jsonl"
    split: validation
- config_name: multiwoz
  description: MultiWoz converted to rdf format
  data_files:
  - path: "multiwoz-rdf/train.jsonl"
    split: train
  - path: "multiwoz-rdf/test.jsonl"
    split: test
  - path: "multiwoz-rdf/validation.jsonl"
    split: validation
- config_name: camrest-sim
  description: Synthetic dialogs on the Cambridge restaurant search domain
  data_files:
  - path: "camrest-sim-rdf/train.jsonl"
    split: train
  - path: "camrest-sim-rdf/test.jsonl"
    split: test
  - path: "camrest-sim-rdf/validation.jsonl"
    split: validation
- config_name: multiwoz-sim
  description: Synthetic dialogs on the Multiwoz domains
  data_files:
  - path: "multiwoz-sim-rdf/train.jsonl"
    split: train
  - path: "multiwoz-sim-rdf/test.jsonl"
    split: test
  - path: "multiwoz-sim-rdf/validation.jsonl"
    split: validation
tags:
- dialogue
- rdf
- dst
task_categories:
- text-generation
- text2text-generation
task_ids:
- conversational
- rdf-to-text
- dialogue-generation
license:
- other
packages:
- python-gitlab
language:
- en
---

# Dataset Card for rdfdial


## Table of Contents
- [Table of Contents](#table-of-contents)
- [Dataset Description](#dataset-description)
  - [Dataset Summary](#dataset-summary)
  - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
  - [Languages](#languages)
- [Dataset Structure](#dataset-structure)
  - [Data Instances](#data-instances)
  - [Data Fields](#data-fields)
  - [Data Splits](#data-splits)
- [Dataset Creation](#dataset-creation)
  - [Curation Rationale](#curation-rationale)
  - [Source Data](#source-data)
  - [Annotations](#annotations)
  - [Personal and Sensitive Information](#personal-and-sensitive-information)
- [Considerations for Using the Data](#considerations-for-using-the-data)
  - [Social Impact of Dataset](#social-impact-of-dataset)
  - [Discussion of Biases](#discussion-of-biases)
  - [Other Known Limitations](#other-known-limitations)
- [Additional Information](#additional-information)
  - [Dataset Curators](#dataset-curators)
  - [Licensing Information](#licensing-information)
  - [Citation Information](#citation-information)
  - [Contributions](#contributions)

## Dataset Description

- **Homepage:** https://huggingface.co/Orange
- **Repository:** https://huggingface.co/Orange/rdfdial
- **Paper:** N/A
- **Leaderboard:** N/A
- **Point of Contact:** Morgan VEYRET; Lina Maria ROJAS BARAHONA

### Dataset Summary

This dataset provides dialogues annotated in dialogue acts and dialogue
state in and RDF based formalism.

There is a conversion of `sfxdial`, `dstc2` and `multiwoz2.3` datasets
as well as two fully synthetic datasets created from simulated conversations:
`camrest-sim` and `multiwoz-sim`.

Original dataset before conversion are available here:
- DSTC2: https://github.com/matthen/dstc
- Multiwoz 2.3: https://github.com/thu-coai/ConvLab-2/tree/master/data/multiwoz2.3
- SfxDial: https://www.repository.cam.ac.uk/items/62011578-23d4-4355-8878-5a150fb72b43

### Supported Tasks and Leaderboards

This dataset was used for the following tasks:
- Natural Language Generation
- Dialogue State Tracking

### Languages

This dataset includes the following languages:
- English

## Dataset Structure

### Data Instances


For all datasets, each item has this schema:

```python
{
    "dialogue_id": "string",         # dialog identifier
    "turns": [{                      # list of dialog turns
        "id": "int8",                # dialog turn index in the conversation
        "speaker": "string",         # speaker identifier ('user' or 'system')
        "text": "string",            # speaker utterance
        "rdf-acts": ["string"],      # string representation of dialog acts
    }],
    "states": [{                     # dialog states for each turn
        "id": "int8",
        "multi_relations": "bool",   # are multiple instances of relations allowed ?
        "triples": [["string"]],     # triples representing the state
        "turn_ids": ["int8"],        # ids of turns contributing to this state
    }],
}
```

### Data Fields

For each dataset item, the following fields are provided:
- `dialogue_id`: unique dialogue identifier
- `turns`: list of speech turns, each turn contains the following fields:
  - `id`: turn index in the dialogue
  - `speaker`: identifier for the speaker (`user` or `system`)
  - `text`: turn utterance
  - `rdf-acts`: list of dialogue acts using string representation of rdf formalism
  each act has the form: `act(triple;...)` where `triple` is formatted as
  `(subject,predicate,object)`
- `states`: list of states for the dialogue, each entry contains the following fields:
  - `id`: state index in the dialogue
  - `multi_relations`: boolean indicating if multiple instances of the same predicate are
  allowed or not
  - `triples`: list of triples representing the graph state, each triple is a list of 3 string like
  `[subject,predicate,object]`
  - `turn_ids`: list of turn ids that contributed to this state


### Data Splits

For each dataset, splits were generated randomly in the following proportions:
- *train*: 80%
- *validation*: 16%
- *test*: 4%

## Dataset Creation

### Curation Rationale

This dataset has been created to work with graph base dialog state representation using
generative models (T5 family).

### Source Data

#### Initial Data Collection and Normalization

- *Converted datasets*:
  - DSTC2: https://github.com/matthen/dstc
  - Multiwoz 2.3: https://github.com/thu-coai/ConvLab-2
  - SfxDial: https://www.repository.cam.ac.uk/handle/1810/251304
- *Synthetic datasets*: rule-based simulations

#### Who are the source language producers?

- *Converted datasets*: see original datasets documentation
- *Synthetic datasets*: conversations were generated using an agenda-based user simulator and
a rule based agent working directly with dialogue acts. These conversations were then augmented
with natural language user/system utterances. Natural language generation was done using
a T5-base model fine-tuned on the converted datasets.

### Annotations

#### Annotation process

- *Converted datasets*: rule-based conversion of the user/system dialogue acts from slot-value
to RDF based format. The dialogue state is created automatically using another rule based
tracked working with triples. Some conversations could not be converted automatically and/or
contained wrong/confusing annotations and were removed from the dataset compared to the
original ones.
- *Synthetic datasets*: simulation work at the annotation level and the dataset was augmented
to include natural language information.

#### Who are the annotators?

All annotations were generated automatically.

For dialogue acts:
- converted data: rules were applied to convert slot-value based dialogue acts
to rdf-based ones
- synthetic data: rdf-based dialogue acts were directly generated by the dialogue simulation.

For dialogue states, a rule based system was using taking rdf-based dialogue acts as
its inputs.

### Personal and Sensitive Information

This dataset does not contains any personal or sensitive information.

## Considerations for Using the Data

### Social Impact of Dataset

[More Information Needed]

### Discussion of Biases

[More Information Needed]

### Other Known Limitations

[More Information Needed]

## Additional Information

### Dataset Curators

[More Information Needed]

### Licensing Information

Converted datasets follow their original licenses:
- DSTC2: [GPL 3.0](https://github.com/matthen/dstc/blob/master/LICENSE)
- Multiwoz 2.3: [Apache 2.0](https://github.com/thu-coai/ConvLab-2/blob/master/LICENSE)
- SfxDial: [Attribution 2.0 UK: England & Wales](https://creativecommons.org/licenses/by/2.0/uk/)

Simulated conversation are provided with the following licenses:
- camrest-sim: [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode)
- multiwoz-sim: [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode)

### Citation Information

[More Information Needed]

### Contributions

- Morgan Veyret