File size: 7,547 Bytes
282fff2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38dc5e0
282fff2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
---
license:
  - cc-by-sa-4.0
  - cc-by-4.0
annotation_creators:
  - human-annotated
  - crowdsourced
language_creators:
  - creator_1
tags:
  - audio
  - automatic-speech-recognition
  - text-to-speech
language:
  - ach
  - aka
  - dag
  - dga
  - ewe
  - fat
  - ful
  - hau
  - ibo
  - kpo
  - lin
  - lug
  - mas
  - mlg
  - nyn
  - sna
  - sog
  - swa
  - twi
  - yor
multilinguality:
  - multilingual
pretty_name: Waxal NLP Datasets
task_categories:
  - automatic-speech-recognition
  - text-to-speech
source_datasets:
  - UGSpeechData
  - DigitalUmuganda/AfriVoice
  - original
configs:
  - config_name: asr
    data_files:
      - split: train
        path: "data/ASR/**/*-train-*"
      - split: validation
        path: "data/ASR/**/*-validation-*"
      - split: test
        path: "data/ASR/**/*-test-*"
      - split: unlabeled
        path: "data/ASR/**/*-unlabeled-*"
  - config_name: tts
    data_files:
      - split: train
        path: "data/TTS/**/*-train-*"
      - split: validation
        path: "data/TTS/**/*-validation-*"
      - split: test
        path: "data/TTS/**/*-test-*"
dataset_info:
  - config_name: asr
    features:
      - name: id
        dtype: string
      - name: speaker_id
        dtype: string
      - name: transcription
        dtype: string
      - name: language
        dtype: string
      - name: gender
        dtype: string
      - name: audio
        dtype: audio
  - config_name: tts
    features:
      - name: id
        dtype: string
      - name: speaker_id
        dtype: string
      - name: transcription
        dtype: string
      - name: locale
        dtype: string
      - name: gender
        dtype: string
      - name: audio
        dtype: audio
---

# Waxal Datasets

## Table of Contents

-   [Dataset Description](#dataset-description)
    -   [ASR Dataset](#asr-dataset)
    -   [TTS Dataset](#tts-dataset)
    -   [How to Use](#how-to-use)
-   [Dataset Structure](#dataset-structure)
    -   [ASR Data Fields](#asr-data-fields)
    -   [TTS Data Fields](#tts-data-fields)
    -   [Data Splits](#data-splits)
-   [Dataset Curation](#dataset-curation)
-   [Considerations for Using the Data](#considerations-for-using-the-data)
-   [Additional Information](#additional-information)

## Dataset Description

The Waxal project provides datasets for both Automated Speech Recognition (ASR)
and Text-to-Speech (TTS) for African languages. The goal of this dataset's
creation and release is to facilitate research that improves the accuracy and
fluency of speech and language technology for these underserved languages, and
to serve as a repository for digital preservation.

The Waxal datasets are collections acquired through partnerships with Makerere
University, The University of Ghana, Digital Umuganda, and Media Trust.
Acquisition was funded by Google and the Gates Foundation under an agreement to
make the dataset openly accessible.

### ASR Dataset

The Waxal ASR dataset is a collection of data in 14 African languages. It
consists of approximately 1,250 hours of transcribed natural speech from a wide
variety of voices. The 14 languages in this dataset represent over 100 million
speakers across 40 Sub-Saharan African countries.

Provider            | Languages                                | License
:------------------ | :--------------------------------------- | :------------:
Makerere University | Acholi, Luganda, Masaaba, Nyankole, Soga | `CC-BY-4.0`
University of Ghana | Akan, Ewe, Dagbani, Dagaare, Ikposo      | `CC-BY-NC-4.0`
Digital Umuganda    | Fula, Lingala, Shona, Malagasy           | `CC-BY-4.0`

### TTS Dataset

The Waxal TTS dataset is a collection of text-to-speech data in 10 African
languages. It consists of approximately 240 hours of scripted natural speech
from a wide variety of voices.

Provider            | Languages                            | License
:------------------ | :----------------------------------- | :------------:
Makerere University | Acholi, Luganda, Kiswahili, Nyankole | `CC-BY-4.0`
University of Ghana | Akan (Fante, Twi)                    | `CC-BY-NC-4.0`
Media Trust         | Fula, Igbo, Hausa, Yoruba            | `CC-BY-4.0`

### How to Use

The `datasets` library allows you to load and pre-process your dataset in pure
Python, at scale.

First, ensure you have the necessary dependencies installed to handle audio
data:

```bash
pip install datasets[audio]
```

**Loading ASR Data**

To load ASR data, point to the `data/ASR` directory.

```python
from datasets import load_dataset, Audio

# Load Shona (sna) ASR dataset
asr_data = load_dataset("google/WaxalNLP", "sna", data_dir="data/ASR")

# Access splits
train = asr_data['train']
val = asr_data['validation']
test = asr_data['test']

# Example: Accessing audio bytes and other fields
example = train[0]
print(f"Transcription: {example['transcription']}")
print(f"Sampling Rate: {example['audio']['sampling_rate']}")
# 'array' contains the decoded audio bytes as a numpy array
print(f"Audio Array Shape: {example['audio']['array'].shape}")
```

**Loading TTS Data**

To load TTS data, point to the `data/TTS` directory.

```python
from datasets import load_dataset

# Load Swahili (swa) TTS dataset
tts_data = load_dataset("google/WaxalNLP", "swa", data_dir="data/TTS")

# Access splits
train = tts_data['train']
```

## Dataset Structure

### ASR Data Fields

```python
{
  'id': 'sna_0',
  'speaker_id': '...',
  'audio': {
    'array': [...],
    'sample_rate': 16_000
  },
  'transcription': '...',
  'language': 'sna',
  'gender': 'Female',
}
```

*   **id**: Unique identifier.
*   **speaker_id**: Unique identifier for the speaker.
*   **audio**: Audio data.
*   **transcription**: Transcription of the audio.
*   **language**: ISO 639-2 language code.
*   **gender**: Speaker gender ('Male', 'Female', or empty).

### TTS Data Fields

```python
{
  'id': 'swa_0',
  'speaker_id': '...',
  'audio': {
    'array': [...],
    'sample_rate': 16_000
  },
  'transcription': '...',
  'locale': 'swa',
  'gender': 'Female',
}
```

*   **id**: Unique identifier.
*   **speaker_id**: Unique identifier for the speaker.
*   **audio**: Audio data.
*   **transcription**: Transcription.
*   **locale**: ISO 639-2 language code.
*   **gender**: Speaker gender.

### Data Splits

For the **ASR Dataset**, the data with transcriptions is split as follows: *
**train**: 80% of labeled data. * **validation**: 10% of labeled data. *
**test**: 10% of labeled data.

The **unlabeled** split contains all samples that do not have a corresponding
transcription.

The **TTS Dataset** follows a similar structure, with data split into `train`,
`validation`, and `test` sets.

## Dataset Curation

The data was gathered by multiple partners:

Provider            | Dataset                                                  | License
:------------------ | :------------------------------------------------------- | :------
University of Ghana | [UGSpeechData](https://doi.org/10.57760/sciencedb.22298) | `CC BY 4.0`
Digital Umuganda    | [AfriVoice](DigitalUmuganda/AfriVoice)                   | `CC-BY 4.0`
Makerere University | [Yogera Dataset](https://doi.org/10.7910/DVN/BEROE0)     | `CC-BY 4.0`
Media Trust         |                                                          | `CC-BY 4.0`

## Considerations for Using the Data

Please check the license for the specific languages you are using, as they may
differ between providers.

**Affiliation:** Google Research

## Version and Maintenance

-   **Current Version:** 1.0.0
-   **Last Updated:** 01/2026