Correct seven errors in the v2 card
Browse filesAn independent verification pass over the published artefacts found the
previous revision of this card wrong in seven places.
* The transcript-overlap row compared two different languages as though it
were one language's before and after. dga went 19.1% -> 0.2%; the 1.5%
figure is ach, which is a regression from 0.6%. Both are now shown
explicitly, including the regression.
* The warning against reading only one v1 split claimed it reintroduces
speaker leakage. It does not -- v2 moves whole speakers, so any subset of
one split stays disjoint from the others. The real damage is losing 88% of
the evaluation set, silently.
* Streaming was described as fetching almost nothing. There is no predicate
pushdown and audio is inline, so it transfers the whole labelled half:
measured, Shona's 1,749-row test set costs 552 MB and ~8 minutes.
* The unlabeled split was given as 816 GB in one place and 637 GB in
another. It is 637 GB.
* sample_rate and channels were described as measured per shard. They vary
per row -- one amh row group holds 14 stereo and 6 mono clips -- and the
corpus includes 44.1 kHz, which went unmentioned.
* The gender table did not say it counts only labelled rows, that it is
reference-word weighted (per-utterance is much looser), or that the raw
field needs case-folding.
* The 12-hour and 2,000-utterance eval bounds were called caps. They are
targets with slack: 14 of 38 eval splits exceed 2,000 utterances.
- data/ASR_v2/README.md +30 -17
|
@@ -101,7 +101,9 @@ asserted from the code that produced them.
|
|
| 101 |
|---|---|---|
|
| 102 |
| Languages whose eval speakers also appear in train | 14 of 19 | **0 of 19** |
|
| 103 |
| Worst eval speaker leakage, any language | 100.0 % | **0.0 %** |
|
| 104 |
-
|
|
|
|
|
|
|
|
| 105 |
| Languages with gender labels | 12 of 19 | 12 of 19 |
|
| 106 |
|
| 107 |
**Speaker-disjointness is structural, not statistical.** The unit of assignment
|
|
@@ -109,9 +111,12 @@ is the speaker, so an utterance cannot cross a split boundary without its
|
|
| 109 |
speaker. It is not a threshold that was met; it is a property the construction
|
| 110 |
cannot violate.
|
| 111 |
|
| 112 |
-
**Sizes are 80/10/10 by duration, with
|
| 113 |
-
binds on the six largest languages, which therefore evaluate on
|
| 114 |
-
per side rather than 10 %; the surplus goes to train.
|
|
|
|
|
|
|
|
|
|
| 115 |
84.5 %/7.7 %/7.7 % by duration. Per-language figures are in the table below.
|
| 116 |
|
| 117 |
**What v2 does not change.** No quality filtering, no re-encoding, no
|
|
@@ -245,18 +250,24 @@ for v1_split in ("train", "validation", "test"): # all three -- see below
|
|
| 245 |
```
|
| 246 |
|
| 247 |
`pd.read_csv` on an `hf://` path needs `huggingface_hub` installed (it is, if
|
| 248 |
-
`datasets` is).
|
| 249 |
-
|
| 250 |
-
|
| 251 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 252 |
|
| 253 |
### Two mistakes that fail silently
|
| 254 |
|
| 255 |
**Read all three v1 labelled splits.** Utterances move between them. Acholi's
|
| 256 |
v2 `test` set of 515 rows is drawn 397 from v1 *train*, 58 from v1 validation
|
| 257 |
-
and 60 from v1 test. Reading only v1's `test` split returns 60 rows instead
|
| 258 |
-
515 --
|
| 259 |
-
|
|
|
|
|
|
|
| 260 |
|
| 261 |
**Never read the `unlabeled` split.** It carries no transcripts, takes no part
|
| 262 |
in the re-split, and is by far the largest thing in the repository (637 GB
|
|
@@ -299,7 +310,7 @@ The six v1 columns, unchanged, plus derived fields:
|
|
| 299 |
| `audio` | `struct<bytes, path>` — **byte-identical** to v1 |
|
| 300 |
| `v1_split` | which v1 split this utterance came from |
|
| 301 |
| `duration_s`, `n_bytes` | derived; the corpus is 128 kbit/s CBR MP3 |
|
| 302 |
-
| `sample_rate`, `channels` | measured per
|
| 303 |
| `provider`, `licence` | the licence travels with the row |
|
| 304 |
|
| 305 |
The stray `__index_level_0__` column present in 36 of the v1 shards is dropped,
|
|
@@ -311,13 +322,15 @@ and every v2 file uses 100-row row groups.
|
|
| 311 |
|
| 312 |
- **No gender labels at all** for `aka`, `dag`, `dga`, `ewe`, `ful`, `kpo`, `mlg`.
|
| 313 |
The gender goal is undefined there, not satisfied, and is reported as `n/a`.
|
| 314 |
-
- **Heterogeneous audio format
|
| 315 |
-
|
| 316 |
-
|
| 317 |
-
|
|
|
|
|
|
|
| 318 |
- **This is a re-split, not a clean-up.** No quality filtering has been
|
| 319 |
applied. Utterance-level defects present in v1 are present here.
|
| 320 |
-
- **The `unlabeled` split is out of scope** (
|
| 321 |
from the v1 config, which is unchanged.
|
| 322 |
- **`speaker_id` is trusted, not verified acoustically** unless the manifest
|
| 323 |
says otherwise. If an id turns out to cover more than one voice, the
|
|
|
|
| 101 |
|---|---|---|
|
| 102 |
| Languages whose eval speakers also appear in train | 14 of 19 | **0 of 19** |
|
| 103 |
| Worst eval speaker leakage, any language | 100.0 % | **0.0 %** |
|
| 104 |
+
| Corpus-wide eval utterances with an exact twin in train | 1.09 % | **0.094 %** |
|
| 105 |
+
| Leakiest language in v1, `dga` | 19.1 % | **0.2 %** |
|
| 106 |
+
| Leakiest language in v2, `ach` | 0.6 % | 1.5 % |
|
| 107 |
| Languages with gender labels | 12 of 19 | 12 of 19 |
|
| 108 |
|
| 109 |
**Speaker-disjointness is structural, not statistical.** The unit of assignment
|
|
|
|
| 111 |
speaker. It is not a threshold that was met; it is a property the construction
|
| 112 |
cannot violate.
|
| 113 |
|
| 114 |
+
**Sizes are 80/10/10 by duration, with eval splits targeted at ~12 hours.**
|
| 115 |
+
That target binds on the six largest languages, which therefore evaluate on
|
| 116 |
+
roughly 5.4 % per side rather than 10 %; the surplus goes to train. It is a
|
| 117 |
+
target, not a hard ceiling -- five eval splits land between 12.0 and 12.2 h,
|
| 118 |
+
and the nominal 2,000-utterance bound carries 35 % slack, so 14 of 38 eval
|
| 119 |
+
splits exceed 2,000 utterances (largest: `tir` validation at 2,686). Corpus-wide this comes to
|
| 120 |
84.5 %/7.7 %/7.7 % by duration. Per-language figures are in the table below.
|
| 121 |
|
| 122 |
**What v2 does not change.** No quality filtering, no re-encoding, no
|
|
|
|
| 250 |
```
|
| 251 |
|
| 252 |
`pd.read_csv` on an `hf://` path needs `huggingface_hub` installed (it is, if
|
| 253 |
+
`datasets` is). Pass `dtype=str` -- some ids begin with an underscore.
|
| 254 |
+
|
| 255 |
+
**Budget the transfer.** Streaming does not save bandwidth here: there is no
|
| 256 |
+
predicate pushdown and the audio bytes are inline in the same row groups, so
|
| 257 |
+
filtering still pulls the language's whole labelled half. Measured: Shona's v2
|
| 258 |
+
test set is 1,749 rows but costs 552 MB and about 8 minutes. Reconstructing all
|
| 259 |
+
three splits of one language ranges from 1.6 GB (`ach`) to 12.7 GB (`sid`).
|
| 260 |
+
Streaming's advantage is bounded memory, not bounded download.
|
| 261 |
|
| 262 |
### Two mistakes that fail silently
|
| 263 |
|
| 264 |
**Read all three v1 labelled splits.** Utterances move between them. Acholi's
|
| 265 |
v2 `test` set of 515 rows is drawn 397 from v1 *train*, 58 from v1 validation
|
| 266 |
+
and 60 from v1 test. Reading only v1's `test` split returns **60 rows instead
|
| 267 |
+
of 515** -- 88 % of your evaluation set silently missing, with no error. (It
|
| 268 |
+
does *not* reintroduce speaker leakage: v2 moves whole speakers, so any subset
|
| 269 |
+
of one v2 split stays disjoint from the others. The damage is that you are
|
| 270 |
+
measuring on a twelfth of the data, and on a non-random twelfth.)
|
| 271 |
|
| 272 |
**Never read the `unlabeled` split.** It carries no transcripts, takes no part
|
| 273 |
in the re-split, and is by far the largest thing in the repository (637 GB
|
|
|
|
| 310 |
| `audio` | `struct<bytes, path>` — **byte-identical** to v1 |
|
| 311 |
| `v1_split` | which v1 split this utterance came from |
|
| 312 |
| `duration_s`, `n_bytes` | derived; the corpus is 128 kbit/s CBR MP3 |
|
| 313 |
+
| `sample_rate`, `channels` | measured **per row**; heterogeneous (see limitations) |
|
| 314 |
| `provider`, `licence` | the licence travels with the row |
|
| 315 |
|
| 316 |
The stray `__index_level_0__` column present in 36 of the v1 shards is dropped,
|
|
|
|
| 322 |
|
| 323 |
- **No gender labels at all** for `aka`, `dag`, `dga`, `ewe`, `ful`, `kpo`, `mlg`.
|
| 324 |
The gender goal is undefined there, not satisfied, and is reported as `n/a`.
|
| 325 |
+
- **Heterogeneous audio format**, and it varies *within* a shard, not just
|
| 326 |
+
between languages: 16 kHz mono (`ach`, `lug`), 44.1 kHz stereo (`aka`, `dag`,
|
| 327 |
+
`dga`, `ewe`), 48 kHz mono (`ful`, `lin`, `sna`, `tir`, `wal`, most `amh`)
|
| 328 |
+
and 48 kHz stereo (some `amh`). One `amh` test row group holds 14 stereo and
|
| 329 |
+
6 mono clips. v1 documents none of this. Nothing is resampled -- a silent
|
| 330 |
+
normalisation cannot be verified against the original.
|
| 331 |
- **This is a re-split, not a clean-up.** No quality filtering has been
|
| 332 |
applied. Utterance-level defects present in v1 are present here.
|
| 333 |
+
- **The `unlabeled` split is out of scope** (637 GB, no transcripts). Take it
|
| 334 |
from the v1 config, which is unchanged.
|
| 335 |
- **`speaker_id` is trusted, not verified acoustically** unless the manifest
|
| 336 |
says otherwise. If an id turns out to cover more than one voice, the
|