perrynelson commited on
Commit
af814f9
·
verified ·
1 Parent(s): 657a2b6

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +271 -0
README.md ADDED
@@ -0,0 +1,271 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!---
2
+ license:
3
+
4
+ - cc-by-sa-4.0
5
+ - cc-by-nc-4.0
6
+ - cc-by-4.0
7
+
8
+ annotation_creators:
9
+ - human-annotated
10
+ - crowdsourced
11
+
12
+ language_creators:
13
+ - creator_1
14
+ tags:
15
+ - audio
16
+ language:
17
+ - ach
18
+ - aka
19
+ - dga
20
+ - dag
21
+ - ewe
22
+ - ful
23
+ - kpo
24
+ - lin
25
+ - lug
26
+ - mlg
27
+ - mas
28
+ - nyn
29
+ - sna
30
+ - sog
31
+ multilinguality:
32
+ - multilingual
33
+ pretty_name: Waxal Dataset
34
+ task_categories:
35
+ - automatic-speech-recognition
36
+ - text-to-speech
37
+ - text-to-audio
38
+ source_datasets:
39
+ - UGSpeechData
40
+ - DigitalUmuganda/AfriVoice
41
+ - original
42
+ dataset_info:
43
+ features:
44
+ - name: id
45
+ dtype: string
46
+ - name: speaker_id
47
+ dtype: string
48
+ - name: transcription
49
+ dtype: string
50
+ - name: language
51
+ dtype: string
52
+ - name: gender
53
+ dtype: string
54
+ - name: audio
55
+ dtype: audio
56
+ config_name: all
57
+ splits:
58
+ - name: train
59
+ - name: validation
60
+ - name: test
61
+ - name: unlabeled
62
+
63
+ --->
64
+
65
+ # Waxal ASR Dataset
66
+
67
+ ## Table of Contents
68
+
69
+ - [Dataset Description](#dataset-description)
70
+ - [How to Use](#how-to-use)
71
+ - [Dataset Structure](#dataset-structure)
72
+ - [Data Instances](#data-instances)
73
+ - [Data Fields](#data-fields)
74
+ - [Data Splits](#data-splits)
75
+ - [Dataset Curation](#dataset-curation)
76
+ - [Considerations for Using the Data](#considerations-for-using-the-data)
77
+ - [Additional Information](#additional-information)
78
+
79
+ ## Dataset Description
80
+
81
+ The Waxal dataset is a collection of automated speech recognition (ASR) data in
82
+ 14 African languages. It consists of approximately 1,250 hours of transcribed
83
+ natural speech from a wide variety of voices, suitable for ASR. The 14 languages
84
+ in this dataset represent over 100 million speakers across 40 Sub-Saharan
85
+ African countries. The goal of this dataset's creation and release is to
86
+ facilitate research that improves the accuracy and fluency of speech and
87
+ language technology for these underserved languages, and to serve as a
88
+ repository for digital preservation.
89
+
90
+ The Waxal dataset is a collection acquired through partnerships with Makerere
91
+ University, The University of Ghana and Digital Umuganda. Acquisition was funded
92
+ by Google and the Gates Foundation under an agreement to make the dataset openly
93
+ accessible.
94
+
95
+ | Provider | Languages | License |
96
+ | :--- | :--- | :---: |
97
+ | Makerere University | Acholi, Luganda, Masaaba, Nyankole, Soga | `CC-BY-4.0` |
98
+ | University of Ghana | Akan, Ewe, Dagbani, Dagaare, Ikposo | `CC-BY-NC-4.0` |
99
+ | Digital Umuganda | Fula, Lingala, Shona, Malagasy | `CC-BY-4.0` |
100
+
101
+ ### How to Use
102
+
103
+ The `datasets` library allows you to load and pre-process your dataset in pure
104
+ Python, at scale. The dataset can be downloaded and prepared in one call to your
105
+ local drive by using the `load_dataset` function.
106
+
107
+ The following language configurations may be used:
108
+
109
+ ```python
110
+ all, ach, aka, dga, dag, ewe, ful, kpo, lin, lug, mlg, mas, nyn, sna, sog
111
+ ```
112
+
113
+ To download the config, specify the language code, (`all` for all languages,
114
+ `<language>` code for a specific language).
115
+
116
+ Downloading specific language data (e.g. Shona):
117
+
118
+ ```python
119
+ from datasets import load_dataset
120
+
121
+ # Ensure you have the audio dependencies installed:
122
+ # pip install datasets[audio]
123
+
124
+ # Load Shona (sna) dataset
125
+ shona_data = load_dataset("google/WaxalNLP", "sna")
126
+
127
+ # Access splits
128
+ train = shona_data['train']
129
+ val = shona_data['validation']
130
+ test = shona_data['test']
131
+ unlabeled = shona_data['unlabeled']
132
+
133
+ # The 'audio' column is automatically decoded when accessed.
134
+ # It returns a dictionary containing 'path', 'array', and 'sampling_rate'.
135
+ example = train[0]
136
+ audio_data = example['audio']
137
+
138
+ print(f"Transcription: {example['transcription']}")
139
+ print(f"Audio array shape: {audio_data['array'].shape}")
140
+ print(f"Sampling rate: {audio_data['sampling_rate']}")
141
+ ```
142
+
143
+ Downloading ALL data (large):
144
+
145
+ ```python
146
+ from datasets import load_dataset
147
+
148
+ all_data = load_dataset("google/WaxalNLP", "all")
149
+ ```
150
+
151
+ ## Dataset Structure
152
+
153
+ The Waxal ASR dataset is a collection of recordings of speakers in 14 African
154
+ languages with a human-written transcription of each recording. Each data point
155
+ consists of a recording of at least 15 seconds, with a transcript. Each data
156
+ point includes speaker-id, name of the language (one of 14 languages), speaker
157
+ age, speaker gender, and speaker environment (Indoor, Outdoor, Other, In a car,
158
+ Office or Studio).
159
+
160
+ ### Data Instances
161
+
162
+ * **Size of ASR dataset:** 1.7T
163
+ * **Number of Instances:** 1,937,031
164
+ * **Number of Fields:** 6
165
+ * **Labeled Classes:** N/A (Each label is a manually written transcription of
166
+ the audio, no classes apply)
167
+ * **Number of Labels:** 224,767
168
+ * **Percentage labeled instances:** 11.62%
169
+ * **Algorithmic Labels:** 0
170
+ * **Human Labels:** 224,767
171
+ * **Hours:** 10960
172
+
173
+ #### Language Codes
174
+
175
+ The data entries are grouped by ISO 639-2 language codes. This is so that the
176
+ audio has a single universal name according to international standards removing
177
+ ambiguity for languages that have multiple names.
178
+
179
+ ```
180
+ ach, aka, dga, dag, ewe, ful, kpo, lin, lug, mlg, mas, nyn, sna, sog
181
+ ```
182
+
183
+ The dataset includes 14 African languages:
184
+
185
+ | ASR Language | ISO 639-2 | Audio Files | Transcribed Hours | Untranscribed Hours | Total Hours |
186
+ | :--- | :---: | ---: | ---: | ---: | ---: |
187
+ | Acholi | ach | 114,308 | 32.32 | 659.49 | 691.81 |
188
+ | Akan | aka | 195,285 | 101.93 | 941.37 | 1,043.30 |
189
+ | Dagaare | dga | 191,404 | 104.66 | 949.80 | 1,054.47 |
190
+ | Dagbani | dag | 188,808 | 98.54 | 962.28 | 1,060.82 |
191
+ | Ewe | ewe | 203,391 | 99.77 | 976.58 | 1,076.35 |
192
+ | Fulani | ful | 100,827 | 124.24 | 403.21 | 527.45 |
193
+ | Ikposo | kpo | 191,984 | 103.81 | 941.22 | 1,045.03 |
194
+ | Lingala | lin | 100,226 | 101.53 | 415.61 | 517.14 |
195
+ | Luganda | lug | 98,475 | 45.96 | 631.44 | 677.40 |
196
+ | Malagasy | mlg | 101,183 | 182.51 | 333.71 | 516.22 |
197
+ | Masaaba | mas | 116,102 | 48.82 | 645.09 | 693.90 |
198
+ | Nyankole | nyn | 131,743 | 50.87 | 754.51 | 805.38 |
199
+ | Shona | sna | 102,969 | 99.23 | 474.94 | 574.16 |
200
+ | Soga | sog | 120,172 | 50.34 | 736.45 | 786.79 |
201
+ | **Total** | **all** | **1,956,877** | **1,244.52** | **9,825.71** | **11,070.23** |
202
+
203
+ ### Data Fields
204
+
205
+ The data is structured as follows:
206
+
207
+ ```python
208
+ {
209
+ 'id': 'sna_0',
210
+ 'speaker_id': '2Eud8lyLlsMcciYhmlkwVRtBwi82',
211
+ 'audio': {
212
+ 'array': [...],
213
+ 'sample_rate': 16_000
214
+ },
215
+ 'transcription': '<transcription | "">',
216
+ 'language': 'sna',
217
+ 'gender': 'Female',
218
+ }
219
+ ```
220
+
221
+ Field descriptions:
222
+
223
+ - **id**: `(string)` unique identifier for the record.
224
+ - **speaker_id**: `(string)` unique identifier for every speaker.
225
+ - **audio**: `(Audio)` audio data for each example as a sound array.
226
+ - **transcription**: `(string)` the transcription of the audio file if
227
+ labeled, otherwise empty string.
228
+ - **language**: `(string)` language code for the language in ISO 639-2 format.
229
+ - **gender**: `(string)` represents the gender of the speaker if present,
230
+ ('Male', 'Female' or empty if not present).
231
+
232
+ ### Data Splits
233
+
234
+ Each language configuration contains four data splits:
235
+
236
+ * **train**: Contains 80% of samples with transcriptions.
237
+ * **validation**: Contains 10% of samples with transcriptions.
238
+ * **test**: Contains 10% of samples with transcriptions.
239
+ * **unlabeled**: Contains all samples that do not have a transcription.
240
+
241
+ The `all` configuration will load data from all languages, while other
242
+ configurations (e.g., `sna`) will load data only for the specified language.
243
+
244
+ ## Dataset Curation
245
+
246
+ The data is a curation of data that was gathered by multiple partners into one
247
+ collective data collection with a standard interface to make it more universally
248
+ accessible and useful for model training.
249
+
250
+ The original data sources and providers are listed below:
251
+
252
+ | Provider | Data Corpus | License |
253
+ | :--- | :--- | :--- |
254
+ | University of Ghana | [UGSpeechData](https://doi.org/10.57760/sciencedb.22298) | `CC BY-NC-ND 4.0` |
255
+ | Digital Umuganda | [AfriVoice](DigitalUmuganda/AfriVoice) | `CC-BY 4.0` |
256
+ | Makerere University | [Yogera Dataset](https://doi.org/10.7910/DVN/BEROE0) | `CC-BY 4.0` |
257
+
258
+ ## Considerations for Using the Data
259
+
260
+ When using this data corpus please keep in mind that data from different
261
+ providers may license their data differently. Please check the license for
262
+ the specific languages that you are using to make sure it is fit for your
263
+ purposes.
264
+
265
+ **Affiliation:** Google Research
266
+
267
+ ## Version and Maintenance
268
+
269
+ - **Current Version:** 1.0.0
270
+ - **Last Updated:** 01/2026
271
+ - **Release Date:** 01/2026