shangeth commited on
Commit
0d50e58
·
verified ·
1 Parent(s): 114d086

Update dataset card with conversational config

Browse files
Files changed (1) hide show
  1. README.md +83 -53
README.md CHANGED
@@ -15,12 +15,6 @@ pretty_name: Expresso (audio + text)
15
  size_categories:
16
  - 10K<n<100K
17
  configs:
18
- - config_name: conversational
19
- data_files:
20
- - split: dev
21
- path: conversational/dev-*
22
- - split: test
23
- path: conversational/test-*
24
  - config_name: read
25
  data_files:
26
  - split: train
@@ -29,42 +23,14 @@ configs:
29
  path: read/dev-*
30
  - split: test
31
  path: read/test-*
32
- dataset_info:
33
- config_name: conversational
34
- features:
35
- - name: id
36
- dtype: string
37
- - name: audio
38
- dtype:
39
- audio:
40
- sampling_rate: 48000
41
- - name: text
42
- dtype: string
43
- - name: speaker_id
44
- dtype: int32
45
- - name: style
46
- dtype: string
47
- - name: other_speaker_id
48
- dtype: int32
49
- - name: other_style
50
- dtype: string
51
- - name: source_file_id
52
- dtype: string
53
- - name: channel
54
- dtype: int32
55
- - name: start_s
56
- dtype: float32
57
- - name: end_s
58
- dtype: float32
59
- splits:
60
- - name: dev
61
- num_bytes: 287371683
62
- num_examples: 521
63
- - name: test
64
- num_bytes: 293805348
65
- num_examples: 515
66
- download_size: 546394797
67
- dataset_size: 581177031
68
  ---
69
 
70
  # Expresso — audio + text
@@ -75,10 +41,10 @@ directly from FAIR's official tar.
75
 
76
  > ⚠️ **License: CC-BY-NC-4.0** — non-commercial use only.
77
 
78
- ## Status
79
 
80
- - **`read`** — published below (this card).
81
- - `conversational` — coming soon (per-channel VAD-segmented mono utterances with machine transcripts).
82
 
83
  ## `read` config
84
 
@@ -118,6 +84,66 @@ All 4 speakers have all 8 styles, with these caveats:
118
  - `narration` is **longform-only** for all speakers (1 file each).
119
  - `default` includes the substyles `default`, `default_emphasis`, `default_essentials`, `default_longform`.
120
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
121
  ## Sidecar files
122
 
123
  The original FAIR metadata is uploaded under `original_metadata/`:
@@ -131,18 +157,21 @@ The original FAIR metadata is uploaded under `original_metadata/`:
131
  ```python
132
  from datasets import load_dataset
133
 
134
- ds = load_dataset("shangeth/expresso", "read", split="train")
135
- ex = ds[0]
 
 
 
136
  print(ex["id"], "|", ex["style"], "|", ex["text"])
137
  print(ex["audio"]["array"].shape, "@", ex["audio"]["sampling_rate"], "Hz")
138
 
139
- # Filter to a specific style
140
- whisper = ds.filter(lambda x: x["style"] == "whisper")
141
- print(len(whisper), "whispered utterances")
142
 
143
- # Per-speaker breakdown
144
  from collections import Counter
145
- print(Counter(ds["speaker_id"]))
146
  ```
147
 
148
  ## Reproducing this dataset
@@ -154,7 +183,8 @@ curl -L https://dl.fbaipublicfiles.com/textless_nlp/expresso/data/expresso.tar |
154
  cd ..
155
 
156
  # Build + push:
157
- python expresso_audio.py --repo_id shangeth/expresso --private
 
158
  ```
159
 
160
  See [github.com/shangeth/wren-datasets](https://github.com/shangeth/wren-datasets) for the full extraction code.
 
15
  size_categories:
16
  - 10K<n<100K
17
  configs:
 
 
 
 
 
 
18
  - config_name: read
19
  data_files:
20
  - split: train
 
23
  path: read/dev-*
24
  - split: test
25
  path: read/test-*
26
+ - config_name: conversational
27
+ data_files:
28
+ - split: train
29
+ path: conversational/train-*
30
+ - split: dev
31
+ path: conversational/dev-*
32
+ - split: test
33
+ path: conversational/test-*
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
  ---
35
 
36
  # Expresso — audio + text
 
41
 
42
  > ⚠️ **License: CC-BY-NC-4.0** — non-commercial use only.
43
 
44
+ ## Configs
45
 
46
+ - **`read`** — 11.6k mono read-speech utterances with **human transcripts**.
47
+ - **`conversational`**~15.9k mono per-utterance turns derived from the stereo conversational dialogues, transcribed with **Whisper Large V3 Turbo**.
48
 
49
  ## `read` config
50
 
 
84
  - `narration` is **longform-only** for all speakers (1 file each).
85
  - `default` includes the substyles `default`, `default_emphasis`, `default_essentials`, `default_longform`.
86
 
87
+ ---
88
+
89
+ ## `conversational` config
90
+
91
+ ~15.9k per-utterance mono turns derived from the official 339 stereo dialog files. Each row is **one speaker's turn** at a known time range within the source file, transcribed by Whisper.
92
+
93
+ | | train | dev | test |
94
+ |---|---|---|---|
95
+ | rows | ~14.8k | ~520 | ~515 |
96
+ | audio | ~29 h | ~50 min | ~51 min |
97
+
98
+ ### Schema
99
+
100
+ | Column | Type | Notes |
101
+ |---|---|---|
102
+ | `id` | string | e.g. `ex01-ex02_default_001__ch1_23.88-28.14` |
103
+ | `audio` | Audio @ 48 kHz mono | the VAD-extracted turn from one channel |
104
+ | `text` | string | Whisper Large V3 Turbo transcript (mixed case + punctuation) |
105
+ | `speaker_id` | int32 | this channel's speaker (1–4) |
106
+ | `style` | string | this channel's expressive style |
107
+ | `other_speaker_id` | int32 | partner's speaker id |
108
+ | `other_style` | string | partner's expressive style |
109
+ | `source_file_id` | string | e.g. `ex01-ex02_default_001` (the stereo source) |
110
+ | `channel` | int32 | 1 or 2 |
111
+ | `start_s` | float32 | turn start within source file (after VAD ∩ split clip) |
112
+ | `end_s` | float32 | turn end |
113
+
114
+ ### How it was built
115
+
116
+ 1. **Parse** the official `splits/{train,dev,test}.txt` time-window assignments per source file.
117
+ 2. **Intersect** each split window with `VAD_segments.txt` (per-channel pyannote turns) — turns straddling the dev/test boundary are **clipped to the split window** so dev/test never leak into train.
118
+ 3. **Slice** the stereo source file → mono channel → 48 kHz mono turn.
119
+ 4. **Transcribe** with `openai/whisper-large-v3-turbo`, with anti-hallucination decoding (`no_repeat_ngram_size=4`, `repetition_penalty=1.2`, `condition_on_prev_tokens=False`) and pre-resampled to 16 kHz.
120
+
121
+ ### Turn filtering
122
+
123
+ - **Min duration**: 0.3 s. Sub-300ms VAD turns (mostly backchannels and clicks) are dropped.
124
+ - **Max duration**: 28 s. Long turns are split into ≤28 s pieces (Whisper's context is 30 s).
125
+
126
+ ### Style coverage
127
+
128
+ 26 styles total in the conversational subset, including styles **not present in `read`**: `angry`, `animal`, `awe`, `bored`, `calm`, `desire`, `disgusted`, `fast`, `fearful`, `nonverbal`, `projected`, `sarcastic`, `sleepy`, `sympathetic`, plus mixed pairs like `animal-animaldir` and `child-childdir` (where the two channels carry different styles — one row's `style` and `other_style` will differ).
129
+
130
+ ### ASR quality (validated against `read` ground truth)
131
+
132
+ We benchmarked Whisper Large V3 Turbo on 210 human-transcribed read utterances spanning all 7 transcribed read styles. Per-style WER:
133
+
134
+ | confused | default | sad | happy | enunciated | laughing | whisper | **overall** |
135
+ |---|---|---|---|---|---|---|---|
136
+ | 0.96% | 1.67% | 2.00% | 2.76% | 3.18% | 4.98% | 5.31% | **3.00%** |
137
+
138
+ ASR errors are highest on `whisper` and `laughing` styles (the toughest acoustic conditions), but still under 6% WER. Conversational rows are expected to track the same per-style quality.
139
+
140
+ ### Caveats
141
+
142
+ - Transcripts are **machine-generated** — expect a small error rate, especially on whispered/laughing/animal-style turns.
143
+ - Mixed-style pairs (`animal-animaldir`, `child-childdir`, `sad-sympathetic` and reversals) — speakers in the two channels carry different styles. Ground-truth styles are encoded per-row in `style` (this channel) and `other_style` (partner).
144
+
145
+ ---
146
+
147
  ## Sidecar files
148
 
149
  The original FAIR metadata is uploaded under `original_metadata/`:
 
157
  ```python
158
  from datasets import load_dataset
159
 
160
+ # Pick a config — there is no default
161
+ read = load_dataset("shangeth/expresso", "read", split="train")
162
+ conv = load_dataset("shangeth/expresso", "conversational", split="train")
163
+
164
+ ex = read[0]
165
  print(ex["id"], "|", ex["style"], "|", ex["text"])
166
  print(ex["audio"]["array"].shape, "@", ex["audio"]["sampling_rate"], "Hz")
167
 
168
+ # Filter conv to mixed-style pairs (cross-style modeling)
169
+ mixed = conv.filter(lambda x: x["style"] != x["other_style"])
170
+ print(f"{len(mixed)} cross-style turns")
171
 
172
+ # Per-style coverage
173
  from collections import Counter
174
+ print(Counter(conv["style"]).most_common(10))
175
  ```
176
 
177
  ## Reproducing this dataset
 
183
  cd ..
184
 
185
  # Build + push:
186
+ python expresso_audio.py --repo_id shangeth/expresso --private # read config
187
+ python expresso_conversational.py --repo_id shangeth/expresso --private # conversational config
188
  ```
189
 
190
  See [github.com/shangeth/wren-datasets](https://github.com/shangeth/wren-datasets) for the full extraction code.