Document the ASR v2 splits in the main dataset card
Browse filesMoves the v2 documentation into this card, where readers will find it,
and drops the separate data/ASR_v2/README.md, which nothing rendered.
Two insertions only: a Table of Contents entry and a section at the end of
Data Splits. The front matter and every other line are byte-identical.
Condensed to corpus-level figures and the three things that actually trip
people up when reading v2; per-language detail stays in
data/ASR_v2/metadata/split_comparison.csv.
- README.md +56 -0
- data/ASR_v2/README.md +0 -389
README.md
CHANGED
|
@@ -925,6 +925,7 @@ The WAXAL dataset is a large-scale multilingual speech corpus for African langua
|
|
| 925 |
- [ASR Data Fields](#asr-data-fields)
|
| 926 |
- [TTS Data Fields](#tts-data-fields)
|
| 927 |
- [Data Splits](#data-splits)
|
|
|
|
| 928 |
- [Dataset Curation](#dataset-curation)
|
| 929 |
- [Considerations for Using the Data](#considerations-for-using-the-data)
|
| 930 |
- [Additional Information](#additional-information)
|
|
@@ -1097,6 +1098,61 @@ transcription.
|
|
| 1097 |
The **TTS Dataset** follows a similar structure, with data split into `train`,
|
| 1098 |
`validation`, and `test` sets.
|
| 1099 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1100 |
## Dataset Curation
|
| 1101 |
|
| 1102 |
The data was gathered by multiple partners:
|
|
|
|
| 925 |
- [ASR Data Fields](#asr-data-fields)
|
| 926 |
- [TTS Data Fields](#tts-data-fields)
|
| 927 |
- [Data Splits](#data-splits)
|
| 928 |
+
- [ASR v2 splits](#asr-v2-splits-speaker-disjoint)
|
| 929 |
- [Dataset Curation](#dataset-curation)
|
| 930 |
- [Considerations for Using the Data](#considerations-for-using-the-data)
|
| 931 |
- [Additional Information](#additional-information)
|
|
|
|
| 1098 |
The **TTS Dataset** follows a similar structure, with data split into `train`,
|
| 1099 |
`validation`, and `test` sets.
|
| 1100 |
|
| 1101 |
+
### ASR v2 splits (speaker-disjoint)
|
| 1102 |
+
|
| 1103 |
+
The ASR half also ships a second set of splits intended for benchmarking, under
|
| 1104 |
+
`data/ASR_v2/`. They re-partition the same utterances so that **no speaker
|
| 1105 |
+
appears in more than one split**, meaning a model is always evaluated on voices
|
| 1106 |
+
it did not train on. The audio is untouched -- v2 is a re-labelling, not a new
|
| 1107 |
+
release of the recordings.
|
| 1108 |
+
|
| 1109 |
+
| Across all 19 ASR languages | original | v2 |
|
| 1110 |
+
|---|---|---|
|
| 1111 |
+
| Eval speakers also present in train | up to 100 % | **0 %** |
|
| 1112 |
+
| Eval utterances with an exact transcript twin in train | 1.09 % | **0.09 %** |
|
| 1113 |
+
| Split sizes by duration | 80 / 10 / 10 nominal | 84.5 / 7.7 / 7.7 |
|
| 1114 |
+
|
| 1115 |
+
438,230 utterances, 2,242 hours. Gender is matched across splits for the
|
| 1116 |
+
12 languages that carry gender labels. Per-language figures are in
|
| 1117 |
+
`data/ASR_v2/metadata/split_comparison.csv`, and the full provenance -- seed,
|
| 1118 |
+
source revision, every parameter -- in `metadata/splits_manifest.json`.
|
| 1119 |
+
|
| 1120 |
+
#### Reading v2
|
| 1121 |
+
|
| 1122 |
+
Read the existing ASR configs and re-label each row from the split map:
|
| 1123 |
+
|
| 1124 |
+
```python
|
| 1125 |
+
import pandas as pd
|
| 1126 |
+
from datasets import load_dataset
|
| 1127 |
+
|
| 1128 |
+
LANG, WANT = "sna", "test"
|
| 1129 |
+
m = pd.read_csv(
|
| 1130 |
+
f"hf://datasets/google/WaxalNLP/data/ASR_v2/metadata/split_map/{LANG}.csv",
|
| 1131 |
+
dtype=str,
|
| 1132 |
+
)
|
| 1133 |
+
v2 = dict(zip(m["id"], m["v2_split"])) # `id` is unique within a language
|
| 1134 |
+
|
| 1135 |
+
for v1_split in ("train", "validation", "test"): # all three
|
| 1136 |
+
for row in load_dataset("google/WaxalNLP", f"{LANG}_asr",
|
| 1137 |
+
split=v1_split, streaming=True):
|
| 1138 |
+
if v2.get(row["id"]) == WANT:
|
| 1139 |
+
...
|
| 1140 |
+
```
|
| 1141 |
+
|
| 1142 |
+
Three things worth knowing:
|
| 1143 |
+
|
| 1144 |
+
- **Read all three original labelled splits.** Utterances move between them:
|
| 1145 |
+
Acholi's v2 test set draws 397 of its 515 rows from the original *train*.
|
| 1146 |
+
Reading only the same-named split returns a fraction of the data, silently.
|
| 1147 |
+
- **Skip `unlabeled`.** It carries no transcripts and takes no part in the
|
| 1148 |
+
re-split.
|
| 1149 |
+
- **Two utterances are unmapped** -- `kpo_149159` has no `speaker_id` and
|
| 1150 |
+
`lin_9193` has an empty transcript. They are listed in
|
| 1151 |
+
`metadata/excluded_rows.csv`; `v2.get()` returns `None` for them.
|
| 1152 |
+
|
| 1153 |
+
Streaming bounds memory rather than download: filtering still transfers the
|
| 1154 |
+
language's labelled half, 1.6 GB (`ach`) to 12.7 GB (`sid`).
|
| 1155 |
+
|
| 1156 |
## Dataset Curation
|
| 1157 |
|
| 1158 |
The data was gathered by multiple partners:
|
data/ASR_v2/README.md
DELETED
|
@@ -1,389 +0,0 @@
|
|
| 1 |
-
---
|
| 2 |
-
language:
|
| 3 |
-
- ach
|
| 4 |
-
- aka
|
| 5 |
-
- amh
|
| 6 |
-
- dag
|
| 7 |
-
- dga
|
| 8 |
-
- ewe
|
| 9 |
-
- ful
|
| 10 |
-
- kpo
|
| 11 |
-
- lin
|
| 12 |
-
- lug
|
| 13 |
-
- mlg
|
| 14 |
-
- myx
|
| 15 |
-
- nyn
|
| 16 |
-
- orm
|
| 17 |
-
- sid
|
| 18 |
-
- sna
|
| 19 |
-
- tir
|
| 20 |
-
- wal
|
| 21 |
-
- xog
|
| 22 |
-
license:
|
| 23 |
-
- CC-BY-4.0
|
| 24 |
-
- CC-BY-SA-4.0
|
| 25 |
-
task_categories:
|
| 26 |
-
- automatic-speech-recognition
|
| 27 |
-
source_datasets:
|
| 28 |
-
- google/WaxalNLP
|
| 29 |
-
multilinguality:
|
| 30 |
-
- multilingual
|
| 31 |
-
annotation_creators:
|
| 32 |
-
- human-annotated
|
| 33 |
-
size_categories:
|
| 34 |
-
- 100K<n<1M
|
| 35 |
-
pretty_name: WAXAL ASR — speaker-disjoint re-split (v2)
|
| 36 |
-
tags:
|
| 37 |
-
- audio
|
| 38 |
-
- automatic-speech-recognition
|
| 39 |
-
- african-languages
|
| 40 |
-
- speaker-disjoint-splits
|
| 41 |
-
- resplit
|
| 42 |
-
---
|
| 43 |
-
|
| 44 |
-
# WAXAL ASR — speaker-disjoint re-split (v2)
|
| 45 |
-
|
| 46 |
-
A speaker-disjoint re-split of the ASR half of this dataset, published by the
|
| 47 |
-
dataset maintainers alongside v1. **v1 is unchanged and stays supported** --
|
| 48 |
-
every existing config resolves to exactly the files it always did.
|
| 49 |
-
|
| 50 |
-
**The audio is unchanged.** Every payload is the byte-for-byte MP3 from v1;
|
| 51 |
-
this is a re-partitioning of the same recordings, not a re-encode and not a
|
| 52 |
-
quality filter. What changes is *which utterances are in which split*.
|
| 53 |
-
|
| 54 |
-
- 438,230 labelled utterances, 2,242 hours,
|
| 55 |
-
19 languages
|
| 56 |
-
- v1 remains untouched and fully usable: `load_dataset("google/WaxalNLP", "ach_asr")`
|
| 57 |
-
- **The repacked audio is not published yet.** What is here is the split
|
| 58 |
-
definition: every utterance's v1 and v2 split, for all 19 languages. It is
|
| 59 |
-
complete and final -- the audio is a materialisation of it, not a
|
| 60 |
-
precondition for using it. Apply it to your existing copy of v1 with the
|
| 61 |
-
snippet below.
|
| 62 |
-
|
| 63 |
-
## Why
|
| 64 |
-
|
| 65 |
-
The v1 ASR splits are not safe to benchmark on. Measured across all
|
| 66 |
-
19 languages:
|
| 67 |
-
|
| 68 |
-
| Code | Language | v1 eval speakers also in train | v2 | v1 eval transcripts also in train | v2 | v2 leakage vs chance |
|
| 69 |
-
|---|---|---|---|---|---|---|
|
| 70 |
-
| `ach` | Acholi | 99.0 % | **0.0 %** | 0.6 % | 1.5 % | 0.88 (-2.8σ) |
|
| 71 |
-
| `aka` | Akan | 100.0 % | **0.0 %** | 0.0 % | 0.0 % | 0.95 (-0.9σ) |
|
| 72 |
-
| `amh` | Amharic | 0.0 % | **0.0 %** | 0.1 % | 0.4 % | 0.70 (-6.0σ) |
|
| 73 |
-
| `dag` | Dagbani | 97.9 % | **0.0 %** | 0.2 % | 0.1 % | 0.75 (-9.3σ) |
|
| 74 |
-
| `dga` | Dagaare | 100.0 % | **0.0 %** | 19.1 % | 0.2 % | 0.83 (-3.0σ) |
|
| 75 |
-
| `ewe` | Ewe | 99.8 % | **0.0 %** | 0.0 % | 0.0 % | 0.86 (-3.5σ) |
|
| 76 |
-
| `ful` | Fula | 99.4 % | **0.0 %** | 0.0 % | 0.0 % | 0.97 (-0.5σ) |
|
| 77 |
-
| `kpo` | Ikposo | 99.1 % | **0.0 %** | 0.0 % | 0.1 % | 0.76 (-4.4σ) |
|
| 78 |
-
| `lin` | Lingala | 98.7 % | **0.0 %** | 0.1 % | 0.1 % | 1.06 (+1.0σ) |
|
| 79 |
-
| `lug` | Luganda | 99.6 % | **0.0 %** | 0.3 % | 0.3 % | 0.82 (-5.8σ) |
|
| 80 |
-
| `mas` | Masaaba | 98.4 % | **0.0 %** | 0.2 % | 0.2 % | 0.80 (-4.8σ) |
|
| 81 |
-
| `mlg` | Malagasy | 97.7 % | **0.0 %** | 0.0 % | 0.0 % | 0.90 (-1.4σ) |
|
| 82 |
-
| `nyn` | Runyankole | 98.5 % | **0.0 %** | 0.7 % | 0.5 % | 0.78 (-6.1σ) |
|
| 83 |
-
| `orm` | Oromo | 0.0 % | **0.0 %** | 0.0 % | 0.2 % | 0.51 (-7.9σ) |
|
| 84 |
-
| `sid` | Sidama | 0.0 % | **0.0 %** | 0.0 % | 0.2 % | 0.67 (-4.8σ) |
|
| 85 |
-
| `sna` | Shona | 97.0 % | **0.0 %** | 0.1 % | 0.1 % | 1.09 (+1.0σ) |
|
| 86 |
-
| `sog` | Soga | 98.3 % | **0.0 %** | 0.0 % | 0.0 % | 0.87 (-3.8σ) |
|
| 87 |
-
| `tir` | Tigrinya | 0.0 % | **0.0 %** | 2.0 % | 0.1 % | 0.69 (-4.7σ) |
|
| 88 |
-
| `wal` | Wolaytta | 0.0 % | **0.0 %** | 0.0 % | 0.1 % | 0.83 (-3.5σ) |
|
| 89 |
-
|
| 90 |
-
A model that has heard the test speakers during training reports a score that
|
| 91 |
-
is partly speaker memorisation rather than recognition, and the size of that
|
| 92 |
-
effect is not knowable after the fact. The re-split removes the channel rather
|
| 93 |
-
than trying to correct for it.
|
| 94 |
-
|
| 95 |
-
## What v2 guarantees
|
| 96 |
-
|
| 97 |
-
Every figure here was measured from the published split maps joined to v1, not
|
| 98 |
-
asserted from the code that produced them.
|
| 99 |
-
|
| 100 |
-
| Property | v1 | v2 |
|
| 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
|
| 110 |
-
is the speaker, so an utterance cannot cross a split boundary without its
|
| 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
|
| 123 |
-
resampling. The same utterances and the same audio as v1, re-partitioned.
|
| 124 |
-
|
| 125 |
-
## How the splits were built
|
| 126 |
-
|
| 127 |
-
Speakers are the unit of assignment, so **speaker-disjointness is structural**:
|
| 128 |
-
an utterance cannot cross a split boundary without its speaker, and a speaker
|
| 129 |
-
belongs to exactly one split. The assignment is then chosen to satisfy, in
|
| 130 |
-
order of precedence:
|
| 131 |
-
|
| 132 |
-
1. **Speaker-disjointness** — a hard constraint, enforced by construction.
|
| 133 |
-
2. **Low train/eval lexical leakage** — a `sqrt(idf)`-weighted affinity over
|
| 134 |
-
shared sentences, word trigrams and word types is minimised across the
|
| 135 |
-
train/eval boundary. Because inverse document frequency goes to zero for
|
| 136 |
-
items nearly everyone uses, *shared common vocabulary is invisible to the
|
| 137 |
-
objective* and only shared rare content is penalised. This is deliberate:
|
| 138 |
-
common-word overlap between train and test is coverage, not leakage, and a
|
| 139 |
-
test set that avoided it would measure a distribution nobody deploys against.
|
| 140 |
-
3. **Gender balance** — the female share of each eval split is matched to the
|
| 141 |
-
corpus, weighted by reference words (the weighting under which a
|
| 142 |
-
micro-averaged WER is or is not gender-representative).
|
| 143 |
-
|
| 144 |
-
Targets are 80/10/10 by duration, but two bounds move that in practice, and
|
| 145 |
-
both are recorded per language in `splits_manifest.json`: the eval share is
|
| 146 |
-
allowed to **grow** to reach a 20,000-reference-word floor in the smallest
|
| 147 |
-
languages, and is **capped** at 12 hours or 2,000 utterances per eval split in
|
| 148 |
-
the largest — so a 220-hour language like Amharic evaluates on about 5.5 % per
|
| 149 |
-
side rather than 10 %, with the surplus going to train. No single speaker may
|
| 150 |
-
exceed 25 % of an eval split. The search is a randomised
|
| 151 |
-
longest-processing-time greedy seed followed by steepest-descent local search,
|
| 152 |
-
seeded from `20260730` and fully deterministic; re-running reproduces
|
| 153 |
-
the assignment hash recorded per language in `splits_manifest.json`.
|
| 154 |
-
|
| 155 |
-
Every goal is scaled against a **null distribution** of
|
| 156 |
-
200 random size-matched speaker-disjoint splits
|
| 157 |
-
of the same language, so the reported numbers can be read against chance.
|
| 158 |
-
|
| 159 |
-
## Splits
|
| 160 |
-
|
| 161 |
-
Train / validation / test, as utterances, hours and distinct speakers:
|
| 162 |
-
|
| 163 |
-
| Code | train | validation | test |
|
| 164 |
-
|---|---|---|---|
|
| 165 |
-
| `ach` | 4,120 / 26.0 h / 263 | 520 / 3.2 h / 33 | 515 / 3.2 h / 33 |
|
| 166 |
-
| `aka` | 10,196 / 55.6 h / 110 | 1,287 / 7.0 h / 11 | 1,269 / 6.9 h / 13 |
|
| 167 |
-
| `amh` | 39,455 / 196.0 h / 550 | 2,473 / 12.0 h / 34 | 2,426 / 12.0 h / 34 |
|
| 168 |
-
| `dag` | 14,237 / 77.2 h / 884 | 1,798 / 9.7 h / 79 | 1,784 / 9.7 h / 107 |
|
| 169 |
-
| `dga` | 15,091 / 83.8 h / 275 | 1,887 / 10.5 h / 36 | 1,896 / 10.5 h / 38 |
|
| 170 |
-
| `ewe` | 15,092 / 79.8 h / 431 | 1,885 / 10.0 h / 53 | 1,884 / 10.0 h / 54 |
|
| 171 |
-
| `ful` | 19,293 / 100.6 h / 168 | 2,303 / 12.0 h / 21 | 2,285 / 11.9 h / 22 |
|
| 172 |
-
| `kpo` | 14,416 / 82.3 h / 369 | 1,803 / 10.3 h / 46 | 1,800 / 10.3 h / 46 |
|
| 173 |
-
| `lin` | 14,523 / 72.3 h / 74 | 1,778 / 9.1 h / 13 | 1,808 / 9.1 h / 10 |
|
| 174 |
-
| `lug` | 5,366 / 36.7 h / 270 | 692 / 4.7 h / 35 | 699 / 4.7 h / 35 |
|
| 175 |
-
| `mas` | 6,856 / 39.2 h / 290 | 857 / 4.9 h / 36 | 861 / 4.9 h / 36 |
|
| 176 |
-
| `mlg` | 18,467 / 94.5 h / 199 | 2,316 / 11.8 h / 25 | 2,303 / 11.8 h / 27 |
|
| 177 |
-
| `nyn` | 6,752 / 40.8 h / 293 | 861 / 5.1 h / 37 | 859 / 5.2 h / 37 |
|
| 178 |
-
| `orm` | 40,141 / 198.7 h / 361 | 2,473 / 11.9 h / 23 | 2,431 / 12.0 h / 22 |
|
| 179 |
-
| `sid` | 40,547 / 202.0 h / 463 | 2,444 / 11.9 h / 28 | 2,413 / 12.0 h / 28 |
|
| 180 |
-
| `sna` | 14,079 / 79.5 h / 131 | 1,744 / 9.9 h / 20 | 1,762 / 9.9 h / 17 |
|
| 181 |
-
| `sog` | 6,298 / 40.4 h / 260 | 786 / 5.1 h / 33 | 793 / 5.0 h / 32 |
|
| 182 |
-
| `tir` | 44,945 / 194.8 h / 408 | 2,686 / 12.1 h / 25 | 2,684 / 12.1 h / 24 |
|
| 183 |
-
| `wal` | 42,258 / 195.1 h / 381 | 2,572 / 12.2 h / 23 | 2,461 / 12.0 h / 23 |
|
| 184 |
-
|
| 185 |
-
### Gender balance
|
| 186 |
-
|
| 187 |
-
Female share of reference words. `n/a` means the source has **no gender labels
|
| 188 |
-
at all** for that language — not that balance was achieved.
|
| 189 |
-
|
| 190 |
-
| Code | train | validation | test |
|
| 191 |
-
|---|---|---|---|
|
| 192 |
-
| `ach` | 0.268 | 0.267 | 0.264 |
|
| 193 |
-
| `aka` | n/a | n/a | n/a |
|
| 194 |
-
| `amh` | 0.454 | 0.454 | 0.454 |
|
| 195 |
-
| `dag` | n/a | n/a | n/a |
|
| 196 |
-
| `dga` | n/a | n/a | n/a |
|
| 197 |
-
| `ewe` | n/a | n/a | n/a |
|
| 198 |
-
| `ful` | n/a | n/a | n/a |
|
| 199 |
-
| `kpo` | n/a | n/a | n/a |
|
| 200 |
-
| `lin` | 0.550 | 0.548 | 0.539 |
|
| 201 |
-
| `lug` | 0.470 | 0.471 | 0.470 |
|
| 202 |
-
| `mas` | 0.306 | 0.307 | 0.306 |
|
| 203 |
-
| `mlg` | n/a | n/a | n/a |
|
| 204 |
-
| `nyn` | 0.452 | 0.454 | 0.452 |
|
| 205 |
-
| `orm` | 0.562 | 0.561 | 0.559 |
|
| 206 |
-
| `sid` | 0.654 | 0.656 | 0.660 |
|
| 207 |
-
| `sna` | 0.614 | 0.612 | 0.600 |
|
| 208 |
-
| `sog` | 0.479 | 0.477 | 0.482 |
|
| 209 |
-
| `tir` | 0.552 | 0.556 | 0.552 |
|
| 210 |
-
| `wal` | 0.661 | 0.661 | 0.656 |
|
| 211 |
-
|
| 212 |
-
### Languages needing attention
|
| 213 |
-
|
| 214 |
-
| Code | Status | Note |
|
| 215 |
-
|---|---|---|
|
| 216 |
-
| `ach` | ok | test: 19,399 reference words against the 20,000 target (WER standard error ~0.36 pp before clustering) |
|
| 217 |
-
| `amh` | ok | eval share reduced 0.100 -> 0.055 by the 12-hour eval cap |
|
| 218 |
-
| `ful` | ok | eval share reduced 0.100 -> 0.096 by the 12-hour eval cap |
|
| 219 |
-
| `lug` | ok | eval share raised 0.100 -> 0.102 to reach the 20,000-reference-word floor; validation: 18,292 reference words against the 20,000 target (WER standard error ~0.37 pp before clustering); test: 18,928 reference words against the 20,000 target (WER standard error ~0.36 pp before clustering) |
|
| 220 |
-
| `mas` | ok | validation: 19,731 reference words against the 20,000 target (WER standard error ~0.35 pp before clustering); test: 14,265 reference words against the 20,000 target (WER standard error ~0.41 pp before clustering) |
|
| 221 |
-
| `nyn` | ok | eval share raised 0.100 -> 0.101 to reach the 20,000-reference-word floor; validation: 17,439 reference words against the 20,000 target (WER standard error ~0.37 pp before clustering); test: 19,041 reference words against the 20,000 target (WER standard error ~0.36 pp before clustering) |
|
| 222 |
-
| `orm` | ok | eval share reduced 0.100 -> 0.054 by the 12-hour eval cap |
|
| 223 |
-
| `sid` | ok | eval share reduced 0.100 -> 0.053 by the 12-hour eval cap |
|
| 224 |
-
| `tir` | ok | eval share reduced 0.100 -> 0.055 by the 12-hour eval cap |
|
| 225 |
-
| `wal` | ok | eval share reduced 0.100 -> 0.055 by the 12-hour eval cap |
|
| 226 |
-
|
| 227 |
-
## Reading v2 today
|
| 228 |
-
|
| 229 |
-
The audio is not republished. v2 re-partitions v1's rows, so you reconstruct a
|
| 230 |
-
v2 split by loading v1 and re-labelling each row from the split map. Nothing is
|
| 231 |
-
added or removed: the same 438,230 utterances, re-assigned.
|
| 232 |
-
|
| 233 |
-
```python
|
| 234 |
-
import pandas as pd
|
| 235 |
-
from datasets import load_dataset
|
| 236 |
-
|
| 237 |
-
LANG, WANT = "sna", "test"
|
| 238 |
-
|
| 239 |
-
m = pd.read_csv(
|
| 240 |
-
f"hf://datasets/google/WaxalNLP/data/ASR_v2/metadata/split_map/{LANG}.csv"
|
| 241 |
-
)
|
| 242 |
-
v2 = dict(zip(m["id"], m["v2_split"])) # `id` is unique within a language
|
| 243 |
-
|
| 244 |
-
for v1_split in ("train", "validation", "test"): # all three -- see below
|
| 245 |
-
ds = load_dataset("google/WaxalNLP", f"{LANG}_asr",
|
| 246 |
-
split=v1_split, streaming=True)
|
| 247 |
-
for row in ds:
|
| 248 |
-
if v2.get(row["id"]) == WANT:
|
| 249 |
-
... # a v2 `{WANT}` utterance
|
| 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
|
| 274 |
-
across the 19 languages). `v2.get(row["id"])` returns `None` for all of it, so
|
| 275 |
-
the filter silently yields nothing after a very long wait.
|
| 276 |
-
|
| 277 |
-
### 2 utterances are deliberately unmapped
|
| 278 |
-
|
| 279 |
-
`v2.get(...)` returns `None` for 2 of v1's labelled rows, which are excluded
|
| 280 |
-
from the splits rather than assigned: `kpo_149159` has an empty `speaker_id`
|
| 281 |
-
(so it cannot be placed without risking leakage in one direction or the other)
|
| 282 |
-
and `lin_9193`'s transcript is a bare newline. Both are listed in
|
| 283 |
-
`metadata/excluded_rows.csv`. Treat `None` as "not in v2", not as an error.
|
| 284 |
-
|
| 285 |
-
|
| 286 |
-
## Schema
|
| 287 |
-
|
| 288 |
-
**What you read today** is v1's schema — `id`, `speaker_id`, `transcription`,
|
| 289 |
-
`language`, `gender`, `audio` — with the v2 split supplied by the split map:
|
| 290 |
-
|
| 291 |
-
| Column | Notes |
|
| 292 |
-
|---|---|
|
| 293 |
-
| `language`, `id` | join key; `id` is unique within a language |
|
| 294 |
-
| `v1_split` | which v1 split the utterance is stored in |
|
| 295 |
-
| `v2_split` | `train` / `validation` / `test` |
|
| 296 |
-
|
| 297 |
-
**Note `speaker_id` is only unique within a language.** 354 speaker ids are
|
| 298 |
-
reused across different languages, so grouping by `speaker_id` alone over a
|
| 299 |
-
multilingual concatenation merges unrelated speakers. Group by
|
| 300 |
-
`(language, speaker_id)`.
|
| 301 |
-
|
| 302 |
-
<details>
|
| 303 |
-
<summary>Schema of the repacked files, once the audio is published</summary>
|
| 304 |
-
|
| 305 |
-
The six v1 columns, unchanged, plus derived fields:
|
| 306 |
-
|
| 307 |
-
| Column | Notes |
|
| 308 |
-
|---|---|
|
| 309 |
-
| `id`, `speaker_id`, `transcription`, `language`, `gender` | unchanged from v1 |
|
| 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,
|
| 317 |
-
and every v2 file uses 100-row row groups.
|
| 318 |
-
|
| 319 |
-
</details>
|
| 320 |
-
|
| 321 |
-
## Limitations
|
| 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
|
| 337 |
-
disjointness guarantee is over ids, not over voices.
|
| 338 |
-
- The `v1 eval transcripts also in train` column is an **exact census** over
|
| 339 |
-
every eval transcript. A separate fuzzy near-duplicate rate (0.95 similarity)
|
| 340 |
-
is recorded in `metadata/split_comparison.csv` and is computed on a sample of
|
| 341 |
-
at most 1,200 eval transcripts per split, with the sample
|
| 342 |
-
size stored beside it.
|
| 343 |
-
- Rows with an empty or placeholder transcript, or with no `speaker_id`, are
|
| 344 |
-
excluded from the splits and listed in `metadata/excluded_rows.csv`.
|
| 345 |
-
Nothing else is filtered.
|
| 346 |
-
|
| 347 |
-
## Licensing
|
| 348 |
-
|
| 349 |
-
The corpus mixes two licences by contributing partner. **Each language is a
|
| 350 |
-
separate config specifically so that aggregating them does not relicense the
|
| 351 |
-
CC-BY-4.0 languages under ShareAlike.** The `licence` column travels with every
|
| 352 |
-
row.
|
| 353 |
-
|
| 354 |
-
| Provider | Languages | Licence |
|
| 355 |
-
|---|---|---|
|
| 356 |
-
| Digital Umuganda | Amharic (`amh`), Fula (`ful`), Lingala (`lin`), Malagasy (`mlg`), Oromo (`orm`), Shona (`sna`), Sidama (`sid`), Tigrinya (`tir`), Wolaytta (`wal`) | `CC-BY-SA-4.0` |
|
| 357 |
-
| Makerere University | Acholi (`ach`), Luganda (`lug`), Masaaba (`mas`), Runyankole (`nyn`), Soga (`sog`) | `CC-BY-SA-4.0` |
|
| 358 |
-
| University of Ghana | Akan (`aka`), Dagaare (`dga`), Dagbani (`dag`), Ewe (`ewe`), Ikposo (`kpo`) | `CC-BY-4.0` |
|
| 359 |
-
|
| 360 |
-
Derivatives of the CC-BY-SA-4.0 languages must carry the same terms. Combining
|
| 361 |
-
configs means inheriting ShareAlike for the combined work.
|
| 362 |
-
|
| 363 |
-
## Attribution and citation
|
| 364 |
-
|
| 365 |
-
Source corpus: [`google/WaxalNLP`](https://huggingface.co/datasets/google/WaxalNLP),
|
| 366 |
-
revision `e0a62aaebc61`, collected by Makerere
|
| 367 |
-
University, the University of Ghana and Digital Umuganda, funded by Google and
|
| 368 |
-
the Gates Foundation. Upstream sources:
|
| 369 |
-
[UGSpeechData](https://doi.org/10.57760/sciencedb.22298),
|
| 370 |
-
[AfriVoice](https://huggingface.co/datasets/DigitalUmuganda/AfriVoice), and the
|
| 371 |
-
[Yogera Dataset](https://doi.org/10.7910/DVN/BEROE0).
|
| 372 |
-
|
| 373 |
-
```bibtex
|
| 374 |
-
@article{waxal2026,
|
| 375 |
-
title={WAXAL: A Large-Scale Multilingual African Language Speech Corpus},
|
| 376 |
-
author={Anonymous},
|
| 377 |
-
journal={arXiv preprint arXiv:2602.02734},
|
| 378 |
-
year={2026}
|
| 379 |
-
}
|
| 380 |
-
```
|
| 381 |
-
|
| 382 |
-
## Reproducing this
|
| 383 |
-
|
| 384 |
-
The split is fully determined by the manifest. `splits_manifest.json` records
|
| 385 |
-
the seed, the pinned source revision, every tolerance, the library versions,
|
| 386 |
-
and a hash of the text-canonicalisation function that all leakage figures were
|
| 387 |
-
computed through. `metadata/split_map/{lang}.csv` carries the per-utterance
|
| 388 |
-
assignment, and `metadata/split_comparison.csv` the full v1-versus-v2 audit
|
| 389 |
-
table these figures are drawn from.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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