File size: 5,952 Bytes
cdd64e2
 
7ec3e60
 
 
 
 
 
 
 
c7ef960
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
cdd64e2
28d679c
 
 
 
7ec3e60
 
28d679c
 
7ec3e60
 
28d679c
 
 
 
e8bfedc
7ec3e60
28d679c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7ec3e60
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
---
license: apache-2.0
task_categories:
- text-to-speech
- automatic-speech-recognition
language:
- en
- tw
size_categories:
- 10K<n<100K
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
  - split: test
    path: data/test-*
  - split: validation
    path: data/validation-*
dataset_info:
  features:
  - name: speaker_id
    dtype: string
  - name: age_range
    dtype: string
  - name: gender
    dtype: string
  - name: prompt_set
    dtype: string
  - name: transcript
    dtype: string
  - name: duration
    dtype: float32
  - name: split
    dtype: string
  - name: audio
    dtype:
      audio:
        sampling_rate: 16000
  - name: file_name
    dtype: string
  - name: error
    dtype: string
  splits:
  - name: train
    num_bytes: 3333593525.0
    num_examples: 50965
  - name: test
    num_bytes: 237761150.395
    num_examples: 1731
  - name: validation
    num_bytes: 294212653.04
    num_examples: 2159
  download_size: 3997553997
  dataset_size: 3865567328.435
---
# Dataset Card for KasaSpeech

## Dataset Summary

**KasaSpeech** is a large-scale English–Twi code-switching speech dataset developed to advance research in speech technologies for English and Twi. 
The dataset comprises **54,855** transcribed speech recordings collected from speakers across Ghana and is designed to capture natural code-switching between English and Twi across a diverse range of everyday topics and communication scenarios


With over **95 hours** of manually transcribed speech, KasaSpeech establishes a new benchmark and gold-standard corpus for English–Twi code-switching speech recognition and text-to-speech research. It is designed to support the development, 
evaluation, and comparison of ASR systems, speech representation models, and multilingual speech technologies for English–Twi.
## Supported Tasks

KasaSpeech is suitable for:

* Automatic Speech Recognition (ASR) for Code-switching speech 
* Text-To-Speech (TTS)
* Multilingual speech modeling
* Speech representation learning
* Speech foundation model fine-tuning and evaluation
* African language speech technology research


## Dataset Structure

### Data Splits

| Split      |    Samples |        Duration |
| ---------- | ---------: | --------------: |
| Train      |     50,965 |     83.94 hours |
| Validation |      2,159 |      6.80 hours |
| Test       |      1,731 |      4.84 hours |
| **Total**  | **54,855** | **95.58 hours** |


### Data Fields

Each example contains the following fields:

| Field        | Type      | Description                                          |
| ------------ | --------- | ---------------------------------------------------- |
| `speaker_id` | `string`  | Anonymous speaker identifier                         |
| `age_range`  | `string`  | Speaker age group                                    |
| `gender`     | `string`  | Speaker gender                                       |
| `prompt_set` | `string`  | Prompt category used during recording                |
| `transcript` | `string`  | Human-annotated English–Twi code-switched transcript |
| `duration`   | `float32` | Audio duration in seconds                            |
| `split`      | `string`  | Dataset split (`train`, `validation`, or `test`)     |
| `audio`      | `Audio`   | Speech recording                                     |
| `file_name`  | `string`  | Original audio filename                              |
| `error`      | `string`  | Optional annotation or recording error label         |


## Example

```python
from datasets import load_dataset, Audio

dataset = load_dataset(
    "Kennethdot/Ghana_English-Twi_Code_switching_ASR",
    split="train"
)

dataset = dataset.cast_column(
    "audio",
    Audio(sampling_rate=16000)
)

sample = dataset[0]

print(sample["transcript"])
```

Example transcript:

```text
Me phone no a-crack-i, henfa na mɛtumi a-fix-i screen no?
```

## Dataset Creation

### Collection Process

Speech recordings were voluntarily contributed by participants using a custom data collection platform. Speakers were presented with prompts designed to encourage natural English–Twi code-switching while covering a broad range of everyday topics and communication scenarios.

### Annotation Process

All recordings were manually transcribed following standardized annotation guidelines developed for English–Twi code-switched speech. Multiple quality assurance steps were performed to improve transcription consistency and remove corrupted or invalid recordings.

### Speaker Information

The dataset includes recordings from speakers spanning multiple age groups and genders. Speaker identities have been anonymized using unique identifiers.

## Dataset Characteristics

* **Total recordings:** 54,855
* **Total duration:** 95.58 hours
* **Languages:** English, Twi, and English–Twi code-switching
* **Sampling rate:** 48 kHz (can be resampled to 16 kHz for model training)
* **Recording style:** Prompted, natural code-switched speech
* **Transcriptions:** Human-annotated

## Limitations

* Demographic representation may not be perfectly balanced across speaker groups.
* Recording conditions vary across devices and environments.
* The dataset primarily reflects Ghanaian English–Twi code-switching and may not generalize to all Akan dialects or other multilingual contexts.
* Although carefully curated, minor transcription inconsistencies may remain.


## Citation

If you use **KasaSpeech** in your work, please cite:

```bibtex
@dataset{kasaspeech2026,
  title={KasaSpeech: A Large-Scale English--Twi Code-Switching Speech Dataset},
  author={Dotse, Kenneth},
  year={2026},
  url={https://huggingface.co/datasets/Kennethdot/Ghana_English-Twi_Code_switching_ASR}
}
```

## Contact

For questions, bug reports, or collaboration opportunities, please open a discussion on the Hugging Face dataset page. Contributions, feedback, and research collaborations are welcome.