mavleo96 Claude Opus 5.5 commited on
Commit
c0f6e2e
·
1 Parent(s): fb9026f

README dataset card; GENERATE.md: actual numbers from the full build

Browse files
Files changed (2) hide show
  1. GENERATE.md +19 -15
  2. README.md +45 -7
GENERATE.md CHANGED
@@ -5,8 +5,7 @@ their current turn up to the moment the stop fires, labelled **`complete`** (the
5
  **`incomplete`** (the speaker pauses and goes on). Sources: **SpokenWOZ** (phone calls) and **Seamless Interaction,
6
  naturalistic** (in-person conversations).
7
 
8
- Plan agreed 2026-10-24. Numbers marked **est.** are scaled from sample builds (see "Basis"); replace them with actuals
9
- after the full build.
10
 
11
  ---
12
 
@@ -76,28 +75,32 @@ and test built the same way.
76
  | SpokenWOZ | train | **2,560 dialogues** | 4,197 (61%) | first 2,560 by id (`--limit 2560`) |
77
  | SpokenWOZ | validation | **305 dialogues** | 500 official dev list (61%) | first 305 by id (`--limit 305`) |
78
  | SpokenWOZ | test | **610 dialogues** | 1,000 (61%) | first 610 by id (`--limit 610`) |
79
- | Seamless naturalistic | train | **6,185 conversations** | 45,239 (14%) | train batches **0000–0024** (1,079 tars, 681 people) |
80
- | Seamless naturalistic | validation | **748 conversations** | all of `dev` (batches 0–2, 190 tars) | all |
81
- | Seamless naturalistic | test | **823 conversations** | all of `test` (batches 0–3, 270 tars) | all |
82
 
83
  - No overlap between splits: SpokenWOZ uses its official splits; Seamless splits have disjoint people (checked on `filelist.csv`).
84
  - SpokenWOZ: 3 calls with swapped-looking channels are always skipped (MUL2348, SNG1001, SNG0605).
85
  - SpokenWOZ ids sort `MUL…` before `SNG…`, so the first-N subsets are all multi-domain calls. Accepted: the domain
86
  mix doesn't matter for end-of-turn detection.
87
  - Seamless `improvised` (actor-led) is not used.
 
 
88
 
89
- ### Expected rows (est.)
90
 
91
  | split | SpokenWOZ (complete / incomplete) | Seamless (complete / incomplete) | **total** | complete share | size |
92
  |---|---|---|---|---|---|
93
- | train | ~152k (89k / 62k) | ~150k (60k / 90k) | **~302k** | ~49% | ~20.5 GB |
94
- | validation | ~18k (11k / 7k) | ~18k (7k / 11k) | **~36k** | ~49% | ~2.5 GB |
95
- | test | ~36k (21k / 15k) | ~20k (8k / 12k) | **~56k** | ~52% | ~3.6 GB |
96
- | **total** | ~206k | ~188k | **~394k** | | **~27 GB** |
97
 
98
- Test is ~64/36 SpokenWOZ/Seamless because SpokenWOZ's official test split is twice its validation split.
 
 
99
 
100
- ### Basis for the estimates
101
 
102
  | | SpokenWOZ | Seamless |
103
  |---|---|---|
@@ -112,7 +115,7 @@ Rows per conversation may differ ±20% on other batches; add or drop Seamless tr
112
  ### Cost
113
 
114
  - Seamless: ~25 train batches + dev + test ≈ **400 GB of network** (48 kHz audio + transcripts only, no video),
115
- ~30 GB raw 16 kHz FLAC in `tmp/seamless/raw/`.
116
  - SpokenWOZ: train/validation audio already in the HF cache (~45 GB prepared); test audio ~2 GB on first build.
117
 
118
  ---
@@ -214,7 +217,8 @@ transcript text, the other's next words, bleed flag.
214
  and the `wav`/`json` members with `HfFileSystem` range reads, so video is never downloaded; `huggingface_hub` waits out
215
  the Hub's rate limit. Stored as 16 kHz 24-bit FLAC + transcript json in `tmp/seamless/raw/{split}/`.
216
  - One file per participant, `V<vendor>_S<session>_I<interaction>_P<participant>`; the two people of a conversation share
217
- `V_S_I`. Only complete pairs are kept. 48 kHz mono, speaker-bleed denoised, 2–5 min per conversation.
 
218
  - Transcript: segments with **real word timestamps** (+ alignment score). Meta's VAD is not used.
219
  - Licence CC BY-NC 4.0.
220
 
@@ -239,4 +243,4 @@ turn start + run break reason, speech start/end, the clip's words, the other's n
239
 
240
  ## 8. After the full build
241
 
242
- - Replace the **est.** numbers in §2 with actuals (rows, complete share, sizes per source and split).
 
5
  **`incomplete`** (the speaker pauses and goes on). Sources: **SpokenWOZ** (phone calls) and **Seamless Interaction,
6
  naturalistic** (in-person conversations).
7
 
8
+ Plan agreed 2026-10-24; full build done the same day (46 usable CPUs, ~2 h incl. downloads). §2 shows the actual numbers.
 
9
 
10
  ---
11
 
 
75
  | SpokenWOZ | train | **2,560 dialogues** | 4,197 (61%) | first 2,560 by id (`--limit 2560`) |
76
  | SpokenWOZ | validation | **305 dialogues** | 500 official dev list (61%) | first 305 by id (`--limit 305`) |
77
  | SpokenWOZ | test | **610 dialogues** | 1,000 (61%) | first 610 by id (`--limit 610`) |
78
+ | Seamless naturalistic | train | **6,142 conversations** | 45,239 (14%) | train batches **0000–0024** (1,079 tars, 681 people) |
79
+ | Seamless naturalistic | validation | **747 conversations** | all of `dev` (batches 0–2, 190 tars) | all |
80
+ | Seamless naturalistic | test | **810 conversations** | all of `test` (batches 0–3, 270 tars) | all |
81
 
82
  - No overlap between splits: SpokenWOZ uses its official splits; Seamless splits have disjoint people (checked on `filelist.csv`).
83
  - SpokenWOZ: 3 calls with swapped-looking channels are always skipped (MUL2348, SNG1001, SNG0605).
84
  - SpokenWOZ ids sort `MUL…` before `SNG…`, so the first-N subsets are all multi-domain calls. Accepted: the domain
85
  mix doesn't matter for end-of-turn detection.
86
  - Seamless `improvised` (actor-led) is not used.
87
+ - Seamless: validation / test download 747 / 813 of 748 / 823 (pairs spanning batches are skipped); 46 empty source
88
+ recordings (§7) leave train 6,185 → 6,142 and test 813 → 810.
89
 
90
+ ### Rows (actual)
91
 
92
  | split | SpokenWOZ (complete / incomplete) | Seamless (complete / incomplete) | **total** | complete share | size |
93
  |---|---|---|---|---|---|
94
+ | train | 167,376 (97,346 / 70,030) | 165,908 (70,506 / 95,402) | **333,284** | 50.4% | 20.6 GB |
95
+ | validation | 20,510 (11,799 / 8,711) | 17,090 (6,916 / 10,174) | **37,600** | 49.8% | 2.8 GB |
96
+ | test | 40,353 (23,264 / 17,089) | 20,221 (8,210 / 12,011) | **60,574** | 52.0% | 4.0 GB |
97
+ | **total** | 228,239 | 203,219 | **431,458** | | **27.4 GB** |
98
 
99
+ Complete share per source: SpokenWOZ 57.5–58.2%, Seamless 40.5–42.5%. Test is ~67/33 SpokenWOZ/Seamless because
100
+ SpokenWOZ's official test split is twice its validation split. Size per row: SpokenWOZ 46 KB, Seamless 78–109 KB.
101
+ About 10% more rows than estimated (~394k).
102
 
103
+ ### Basis for the estimates (before the full build)
104
 
105
  | | SpokenWOZ | Seamless |
106
  |---|---|---|
 
115
  ### Cost
116
 
117
  - Seamless: ~25 train batches + dev + test ≈ **400 GB of network** (48 kHz audio + transcripts only, no video),
118
+ 64 GB raw 16 kHz 24-bit FLAC in `tmp/seamless/raw/` (download ~2 min per batch, ~70 min in all).
119
  - SpokenWOZ: train/validation audio already in the HF cache (~45 GB prepared); test audio ~2 GB on first build.
120
 
121
  ---
 
217
  and the `wav`/`json` members with `HfFileSystem` range reads, so video is never downloaded; `huggingface_hub` waits out
218
  the Hub's rate limit. Stored as 16 kHz 24-bit FLAC + transcript json in `tmp/seamless/raw/{split}/`.
219
  - One file per participant, `V<vendor>_S<session>_I<interaction>_P<participant>`; the two people of a conversation share
220
+ `V_S_I`. Only complete pairs are kept. 46 source conversations are empty (no audio, empty transcript: test session
221
+ V03_S2028, train sessions V00_S0224 / S0512 / S0693 / S0761); the build skips their 0-byte FLACs. 48 kHz mono, speaker-bleed denoised, 2–5 min per conversation.
222
  - Transcript: segments with **real word timestamps** (+ alignment score). Meta's VAD is not used.
223
  - Licence CC BY-NC 4.0.
224
 
 
243
 
244
  ## 8. After the full build
245
 
246
+ - Done 2026-10-24: actual numbers in §2, data uploaded to the Hub (`hf upload`, one commit).
README.md CHANGED
@@ -1,8 +1,7 @@
1
  ---
2
- license: other
3
  task_categories:
4
  - audio-classification
5
- - text-classification
6
  language:
7
  - en
8
  tags:
@@ -10,7 +9,10 @@ tags:
10
  - end-of-turn
11
  - spoken-dialogue
12
  - spokenwoz
 
13
  pretty_name: Turn Detection Data
 
 
14
  configs:
15
  - config_name: default
16
  data_files:
@@ -24,16 +26,52 @@ configs:
24
 
25
  # Turn Detection Data
26
 
27
- Datasets for end-of-turn / turn-taking detection in spoken dialogue.
 
 
 
 
 
 
28
 
29
  ## Sources
30
 
31
- - **SpokenWOZ** — exploratory analysis in `eda_spokenwoz.ipynb`.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
 
33
- ## Structure
34
 
35
- _TBD_
36
 
37
  ## License
38
 
39
- _TBD — must respect the licenses of the upstream source datasets._
 
 
1
  ---
2
+ license: cc-by-nc-4.0
3
  task_categories:
4
  - audio-classification
 
5
  language:
6
  - en
7
  tags:
 
9
  - end-of-turn
10
  - spoken-dialogue
11
  - spokenwoz
12
+ - seamless-interaction
13
  pretty_name: Turn Detection Data
14
+ size_categories:
15
+ - 100K<n<1M
16
  configs:
17
  - config_name: default
18
  data_files:
 
26
 
27
  # Turn Detection Data
28
 
29
+ End-of-turn (EoT) training data for a voice agent. Every time a voice activity detector (VAD) says a speaker stopped
30
+ talking, we take that speaker's audio from the start of their turn up to that moment and label it:
31
+
32
+ - **`complete`**: the other person takes the floor next
33
+ - **`incomplete`**: the speaker pauses and goes on
34
+
35
+ No audio after the stop is included (it would give the label away). Clips are 16 kHz mono FLAC, at most 30 s.
36
 
37
  ## Sources
38
 
39
+ | source | type | train | validation | test |
40
+ |---|---|---|---|---|
41
+ | [SpokenWOZ](https://spokenwoz.github.io/) | phone calls (task-oriented) | 167,376 | 20,510 | 40,353 |
42
+ | [Seamless Interaction](https://huggingface.co/datasets/facebook/seamless-interaction) (naturalistic) | in-person conversations | 165,908 | 17,090 | 20,221 |
43
+ | **total** | | **333,284** | **37,600** | **60,574** |
44
+
45
+ About half the rows are `complete` (50.4% train, 49.8% validation, 52.0% test). Splits follow the sources' own splits:
46
+ no dialogue or (for Seamless) person appears in more than one split. Labels come from SpokenWOZ's annotated turns and
47
+ from Seamless's word timestamps.
48
+
49
+ ## Columns
50
+
51
+ | column | |
52
+ |---|---|
53
+ | `id` | `{source}_{conversation}_{channel}_{k:03d}` |
54
+ | `audio` | 16 kHz mono FLAC |
55
+ | `data_source` | `spokenwoz` / `seamless` |
56
+ | `original_data_id` | dialogue / conversation id in the source |
57
+ | `channel` | SpokenWOZ: 0 = user, 1 = system. Seamless: the two participants |
58
+ | `timestamp_start`, `timestamp_end` | clip span in the conversation (s); end = when the VAD stop fires |
59
+ | `label` | `incomplete` / `complete` |
60
+ | `meta` | JSON string with source-specific details (transcript text, gaps, turn info) |
61
+
62
+ ```python
63
+ from datasets import load_dataset
64
+ ds = load_dataset("mavleo96/turn-detection-data")
65
+ phone = ds["train"].filter(lambda x: x == "spokenwoz", input_columns="data_source")
66
+ ```
67
+
68
+ `dropped/` (points left out, with the reason), `stats/` and `report/` hold build details per source and split.
69
 
70
+ ## How it was made
71
 
72
+ See [GENERATE.md](GENERATE.md) for the full method, settings and commands; code is in `scripts/`.
73
 
74
  ## License
75
 
76
+ CC BY-NC 4.0 (non-commercial), following both sources: SpokenWOZ and Seamless Interaction are CC BY-NC 4.0.
77
+ Please cite the original datasets when using this data.