Datasets:
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationError
Exception: TypeError
Message: Couldn't cast array of type
struct<is_induced_by_repeat_rephrase: bool, is_machine_generated: bool, repeat_rephrase_type: string, end_dialogue: bool, requested: struct<room: bool, agenda: bool, time: bool, date: bool, party: bool, event: bool, distance: bool, traffic_info: bool, poi_type: bool, address: bool, poi: bool, weather_attribute: bool, location: bool>, slots: struct<date: string, party: string, event: string, time: string, distance: string, poi_type: string, weather_attribute: string, location: string, traffic_info: string, poi: string, room: string, address: string>>
to
{'is_induced_by_repeat_rephrase': Value('bool'), 'is_machine_generated': Value('bool'), 'repeat_rephrase_type': Value('string')}
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1827, in _prepare_split_single
for key, table in generator:
^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 613, in wrapped
for item in generator(*args, **kwargs):
~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 343, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2378, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2312, in cast_table_to_schema
cast_array_to_feature(
~~~~~~~~~~~~~~~~~~~~~^
table[name] if name in table_column_names else pa.array([None] * len(table), type=schema.field(name).type),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
feature,
^^^^^^^^
)
^
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1861, in wrapper
return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2118, in cast_array_to_feature
casted_array_values = _c(array.values, feature.feature)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1863, in wrapper
return func(array, *args, **kwargs)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2068, in cast_array_to_feature
_c(array.field(name) if name in array_fields else null_array, subfeature)
~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1863, in wrapper
return func(array, *args, **kwargs)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2158, in cast_array_to_feature
raise TypeError(f"Couldn't cast array of type\n{_short_str(array.type)}\nto\n{_short_str(feature)}")
TypeError: Couldn't cast array of type
struct<is_induced_by_repeat_rephrase: bool, is_machine_generated: bool, repeat_rephrase_type: string, end_dialogue: bool, requested: struct<room: bool, agenda: bool, time: bool, date: bool, party: bool, event: bool, distance: bool, traffic_info: bool, poi_type: bool, address: bool, poi: bool, weather_attribute: bool, location: bool>, slots: struct<date: string, party: string, event: string, time: string, distance: string, poi_type: string, weather_attribute: string, location: string, traffic_info: string, poi: string, room: string, address: string>>
to
{'is_induced_by_repeat_rephrase': Value('bool'), 'is_machine_generated': Value('bool'), 'repeat_rephrase_type': Value('string')}
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1694, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1880, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
sample_id string | turns list | source_dataset string | is_llm_generated bool | meta dict |
|---|---|---|---|---|
4e601a4d-413b-421d-b34e-48fadbbc0ba4 | [
{
"text": "Can you help me find a place to have dinner?",
"speaker_id": "de1ba05a-eaab-43d8-a055-1f3240c693b0",
"is_agent": false,
"turn_id": "3648cf19-24b1-4cee-b7ba-7fd196cc4b9f",
"meta": {
"is_induced_by_repeat_rephrase": false,
"is_machine_generated": false,
"repeat_rephras... | DSCT11-Track-5 | false | {
"knowledge": [
{
"domain": "restaurant",
"entity_id": 19181,
"doc_type": "review",
"doc_id": 5,
"sent_id": 2
},
{
"domain": "restaurant",
"entity_id": 19181,
"doc_type": "review",
"doc_id": 0,
"sent_id": 5
},
{
"domain": "restaura... |
cbea80e7-4c76-4033-956f-0bf486f965ad | [
{
"text": "I am looking for the Home from Home hotel, I would also like to know how many stars this hotel has.",
"speaker_id": "e1b691f6-4bd9-4c51-b439-074b23240904",
"is_agent": false,
"turn_id": "86fc1049-4442-499c-b56a-0d9edfc58c59",
"meta": {
"is_induced_by_repeat_rephrase": false,
... | DSCT11-Track-5 | false | {
"knowledge": null,
"target": false
} |
834d5836-2903-4a1f-8669-2fd25ce8a899 | [
{
"text": "I am looking for a hotel in Cambridge.",
"speaker_id": "7b1d04e0-0913-408a-a98d-57370a7a0653",
"is_agent": false,
"turn_id": "bc082c0e-286a-480a-8e99-404898b435c7",
"meta": {
"is_induced_by_repeat_rephrase": false,
"is_machine_generated": false,
"repeat_rephrase_type... | DSCT11-Track-5 | false | {
"knowledge": null,
"target": false
} |
5d1ebb66-5771-46ca-a577-2f1bc1330355 | [
{
"text": "Can you recommend a moderately priced restaurant in the South part of town?",
"speaker_id": "251f2931-c92e-45c3-ad26-5777e6bff0b1",
"is_agent": false,
"turn_id": "e0950e31-5ff3-4d42-9dea-338a17a15a62",
"meta": {
"is_induced_by_repeat_rephrase": false,
"is_machine_generated... | DSCT11-Track-5 | false | {
"knowledge": null,
"target": false
} |
0707f588-cb20-4551-ad96-3149cb083a89 | [
{
"text": "I'm looking for a place to dine in the centre that serves international food.",
"speaker_id": "82c7fb65-604d-4101-9fab-9be86a4aee7e",
"is_agent": false,
"turn_id": "2dca3b02-b618-4c86-846f-97d5d69d88c5",
"meta": {
"is_induced_by_repeat_rephrase": false,
"is_machine_generat... | DSCT11-Track-5 | false | {
"knowledge": null,
"target": false
} |
a00417ca-7cf1-480a-b33d-53952b924d0b | [
{
"text": "Yes, I am looking for an expensive hotel to stay that includes free parking.",
"speaker_id": "87181e5b-3144-498b-adcc-b61fa06cfc74",
"is_agent": false,
"turn_id": "58a1039e-1fd1-4648-8647-b9fe1f63cde6",
"meta": {
"is_induced_by_repeat_rephrase": false,
"is_machine_generate... | DSCT11-Track-5 | false | {
"knowledge": null,
"target": false
} |
020ddd54-5144-4a8e-9afc-a070e1ce3c30 | [
{
"text": "Hello, I am looking for a train to leave on Monday after 12:45.",
"speaker_id": "a87a4fe4-9117-4556-9092-d945050b2071",
"is_agent": false,
"turn_id": "7a7e7f6a-b8d7-4390-8d71-4e9761fe7c4e",
"meta": {
"is_induced_by_repeat_rephrase": false,
"is_machine_generated": false,
... | DSCT11-Track-5 | false | {
"knowledge": null,
"target": false
} |
b5156051-c684-4af7-9a7a-1697d41b4195 | [
{
"text": "Hi! What can you tell me about the attractions on the east side?",
"speaker_id": "c7725c5c-ada2-42f3-9f65-21bf553c2adc",
"is_agent": false,
"turn_id": "d961fd7f-1c62-4918-8056-08e116ba88ce",
"meta": {
"is_induced_by_repeat_rephrase": false,
"is_machine_generated": false,
... | DSCT11-Track-5 | false | {
"knowledge": [
{
"domain": "hotel",
"entity_id": 8,
"doc_type": "review",
"doc_id": 8,
"sent_id": 0
},
{
"domain": "hotel",
"entity_id": 8,
"doc_type": "review",
"doc_id": 3,
"sent_id": 1
},
{
"domain": "hotel",
"entity_id":... |
84e3594e-1be8-4646-8d82-fe52aa7b8368 | [
{
"text": "I want a train going to stansted airport .",
"speaker_id": "8ca914d9-d328-4a02-987c-dc11b4d33652",
"is_agent": false,
"turn_id": "1d5d9684-7e51-4fe0-89a8-11788f54497a",
"meta": {
"is_induced_by_repeat_rephrase": false,
"is_machine_generated": false,
"repeat_rephrase_... | DSCT11-Track-5 | false | {
"knowledge": null,
"target": false
} |
891e0fcf-4dab-4f08-b544-162c0e004537 | [
{
"text": "I am looking for a restaurant in the centre that serves african food.",
"speaker_id": "131c98bb-7fd9-465b-8000-60b456d0c1af",
"is_agent": false,
"turn_id": "cf03d737-e2ae-4c90-8a21-eeb0bac96a10",
"meta": {
"is_induced_by_repeat_rephrase": false,
"is_machine_generated": fal... | DSCT11-Track-5 | false | {
"knowledge": [
{
"domain": "restaurant",
"entity_id": 19183,
"doc_type": "review",
"doc_id": 6,
"sent_id": 4
}
],
"target": true
} |
906f4d3b-06f5-46f7-8af0-e3a5100d5027 | [
{
"text": "i am looking for a place to stay. The hotel should include free parking and should have a star of 4.",
"speaker_id": "ad4ab7c0-9be3-4e69-a60d-068476662880",
"is_agent": false,
"turn_id": "c1403c21-2562-4260-ba95-d096afd01e82",
"meta": {
"is_induced_by_repeat_rephrase": false,
... | DSCT11-Track-5 | false | {
"knowledge": [
{
"domain": "hotel",
"entity_id": 3,
"doc_type": "review",
"doc_id": 4,
"sent_id": 2
}
],
"target": true
} |
OD3: Open Directed Dialogue Dataset
OD3 (Open Directed Dialogue Dataset) is designed to allow the community to explore further research into leveraging flawed conversational interactions to improve model performance. OD3 is a collection of 63K conversations (600K turns, 1,172 hours of audio) drawn from existing natural language task-oriented dialog datasets, and augmented with synthetic audio. OD3 is further augmented with turns containing repeats and rephrases of previous failed utterances.
For more details, check out the paper.
- Paper: Task Oriented Dialogue as a Catalysis for Self-Supervised Automatic Speech Recognition (ICASSP 2024)
- Original repository: amazon-science/amazon-od3
- Contact: davidchan@berkeley.edu
- License: CC-BY-NC-SA-4.0
Dataset statistics
Computed directly from the released annotation files:
| Split | Conversations | Turns | Audio clips | Repeat/rephrase turns | Distinct voices |
|---|---|---|---|---|---|
| train | 47,702 | 472,347 | 638,851 | 9,199 | 82,527 |
| validation | 6,437 | 64,631 | 95,778 | 1,375 | 12,470 |
| test | 8,821 | 85,610 | 126,945 | 1,816 | 17,108 |
| Total | 62,960 | 622,588 | 861,574 | 12,390 | — |
Seed dataset composition (conversations)
| Source dataset | train | validation | test | total |
|---|---|---|---|---|
| DSTC11-Track-5 | 25,579 | 4,085 | 5,342 | 35,006 |
| MultiWOZ 2.2 | 8,425 | 1,000 | 999 | 10,424 |
| SIMMC 2.1 | 7,306 | 563 | 1,687 | 9,556 |
| NOESIS | 3,967 | 487 | 489 | 4,943 |
| KVRET | 2,425 | 302 | 304 | 3,031 |
Data structure
Each line of a .jsonl file is one conversation:
{
"sample_id": "b4bbb5b2-c075-4a8b-a953-8b14cd861ead",
"source_dataset": "DSCT11-Track-5",
"is_llm_generated": false,
"meta": {"knowledge": null, "target": false},
"turns": [
{
"text": "I am looking for a certain hotel...",
"speaker_id": "0d6bb10a-76da-4f7e-bd90-2416a4449a8c",
"turn_id": "aa0a0989-b545-4620-a7d9-47e7e0abf82d",
"is_agent": false,
"turn_is_repeat_rephrase": false,
"meta": {
"is_induced_by_repeat_rephrase": false,
"is_machine_generated": false,
"repeat_rephrase_type": null
},
"audio": {
"25218975": {
"path": "dev/b4/b4bbb5b2-.../aa0a0989-...+25218975.wav",
"voice_id": "25218975",
"universal_agent": false,
"asr_transcript": " I am looking for a certain hotel...",
"normalized_ground_truth": "i am looking for a certain hotel...",
"normalized_asr_transcript": "i am looking for a certain hotel..."
}
}
}
]
}
Fields
Conversation level
sample_id— unique conversation identifier (UUID).source_dataset— the seed dataset this conversation was drawn from.is_llm_generated— whether the conversation itself was LLM-generated.meta— source-specific metadata (e.g.knowledge,target).
Turn level
text— the ground-truth utterance text.speaker_id— synthetic speaker identity, stable within a conversation.turn_id— unique turn identifier (UUID).is_agent—truefor agent turns,falsefor user turns.turn_is_repeat_rephrase— whether this turn is a repeat/rephrase of a previous failed turn.meta.repeat_rephrase_type— the kind of repeat/rephrase, when applicable.audio— map ofvoice_id→ audio rendition.
Audio rendition
path— path within the audio tree:<split>/<first-2-chars-of-sample_id>/<sample_id>/<turn_id>+<voice_id>.wav.voice_id— the synthetic voice used (cloned from CommonVoice).asr_transcript— transcript produced by running ASR over the synthesized audio.normalized_ground_truth/normalized_asr_transcript— normalized text for WER computation.word_error_rate— WER of this rendition's ASR transcript against the ground truth.nbest— up to 8 n-best ASR hypotheses for the clip.
The gap between normalized_ground_truth and normalized_asr_transcript is what makes OD3
useful for studying self-supervised ASR improvement from dialogue signals.
Usage
Annotations only
from datasets import load_dataset
ds = load_dataset("davidchan/od3") # train / validation / test
print(ds["train"][0]["sample_id"])
Conversations with audio
The audio is published as conversation-grained WebDataset shards under audio/:
one WebDataset sample is one complete conversation, not one clip.
import json, webdataset as wds
url = "https://huggingface.co/datasets/davidchan/od3/resolve/main/audio/train-00000.tar"
for sample in wds.WebDataset(url, shardshuffle=False):
conv = json.loads(sample["json"]) # the whole conversation
print(conv["sample_id"], len(conv["turns"]), "turns,", conv["n_audio"], "clips")
for field, meta in conv["audio_files"].items():
wav = sample[field] # raw RIFF/WAVE bytes
turn = conv["turns"][meta["turn_index"]]
print(" ", turn["text"][:50], "| voice", meta["voice_id"], "|", len(wav), "bytes")
break
Audio
audio/train-00000.tar ... train-00099.tar 100 shards
audio/dev-00000.tar ... dev-00014.tar 15 shards
audio/test-00000.tar ... test-00019.tar 20 shards
Each shard holds whole conversations (~1GB per shard). A conversation is never split across shards. Within a sample:
| File | Contents |
|---|---|
<split>/<sample_id>.json |
the complete conversation record — every turn, all metadata (including DSTC11 knowledge grounding), plus split, n_audio, and audio_files |
<split>/<sample_id>.000.wav |
clips, numbered in turn order then voice order |
<split>/<sample_id>.001.wav |
… |
The WebDataset __key__ is <split>/<sample_id>.
audio_files maps each wav field to its place in the dialogue, which is how you attach a clip
to its turn:
"audio_files": {
"000.wav": {"path": "train/e9/.../3da7d281-...+24797540.wav",
"turn_index": 0, "turn_id": "3da7d281-...", "voice_id": "24797540"}
}
Things to know
sample_idis unique only within a split. 486 conversations appear in bothdevandtest— same turns and text, resynthesized with different voices. Key on(split, sample_id), and be aware of this overlap if you evaluate on both splits.- A turn may have 0, 1, or 2 renditions (different synthetic voices): 299,136 turns have one, 281,219 have two, and 42,233 are text-only. Conversations run up to 72 clips.
- Text-only conversations are not in the shards. 4,649
trainconversations have no audio at all; they appear inod3_train.jsonlonly. The shards cover 58,311 conversations and all 861,574 clips. dev_miniis not included. The originalaudio.tar.gzcontains a smalldev_mini/directory (5 conversations) holding an extra voice rendering of a handful ofdevconversations. No annotation file references those paths, and the renditions have novoice_id, ASR transcript, or WER, so they are omitted here. The shards contain exactly the 861,574 clips described by the annotations.- Use the
webdatasetreader for audio. Because samples have a variable number of.wavfields, thedatasetsWebDataset builder (which infers one fixed schema) is a poor fit here; read the shards withwebdatasetand useload_datasetfor the JSONL annotations.
Original tarball
The audio was originally distributed as a single audio.tar.gz (93.3 GB) from CloudFront.
That object exceeds CloudFront's 50 GiB per-object limit, so a plain curl -O returns
HTTP 400; only bounded HTTP range requests succeed. The shards here contain byte-for-byte
the same WAV files, regrouped by conversation.
Citation
@inproceedings{chan2023domain,
title={Task Oriented Dialogue as a Catalysis for Self-Supervised Automatic Speech Recognition},
author={Chan, David M and Ghosh, Shalini and Tulsiani, Hitesh and Rastrow, Ariya and Hoffmeister, Bj{\"o}rn},
booktitle={ICASSP 2024-2024 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP)},
year={2024},
organization={IEEE}
}
License and attribution
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
OD3 is released under CC-BY-NC-SA-4.0. This repository mirrors the dataset originally released at amazon-science/amazon-od3.
OD3 is derived from DSTC11 (Track 5), KVRET, MultiWOZ 2.2, NOESIS, and SIMMC 2, and uses the
Mozilla CommonVoice corpus (cv-corpus-14.0-2023-06-23) for voice cloning. Each seed dataset
remains subject to its own license.
- Downloads last month
- 3