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| 2 |
license: apache-2.0
|
| 3 |
---
|
| 4 |
+
# Dataset Card for KasaSpeech
|
| 5 |
+
|
| 6 |
+
## Dataset Summary
|
| 7 |
+
|
| 8 |
+
**KasaSpeech** is a large-scale English–Twi code-switching speech dataset designed to support the development of speech technologies for low-resource African languages. The dataset comprises **54,855** transcribed speech recordings collected from speakers across Ghana, capturing natural code-switching between English and Twi in conversational and prompted speech.
|
| 9 |
+
|
| 10 |
+
With over **95 hours** of annotated audio, KasaSpeech serves as a benchmark for multilingual and code-switching Automatic Speech Recognition (ASR), speech representation learning, and language technology research for African languages.
|
| 11 |
+
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
## Supported Tasks
|
| 15 |
+
|
| 16 |
+
KasaSpeech is suitable for:
|
| 17 |
+
|
| 18 |
+
* Automatic Speech Recognition (ASR)
|
| 19 |
+
* Code-switching speech recognition
|
| 20 |
+
* Multilingual speech modeling
|
| 21 |
+
* Speech representation learning
|
| 22 |
+
* Speech foundation model fine-tuning and evaluation
|
| 23 |
+
* African language speech technology research
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
## Dataset Structure
|
| 27 |
+
|
| 28 |
+
### Data Splits
|
| 29 |
+
|
| 30 |
+
| Split | Samples | Duration |
|
| 31 |
+
| ---------- | ---------: | --------------: |
|
| 32 |
+
| Train | 50,965 | 83.94 hours |
|
| 33 |
+
| Validation | 2,159 | 6.80 hours |
|
| 34 |
+
| Test | 1,731 | 4.84 hours |
|
| 35 |
+
| **Total** | **54,855** | **95.58 hours** |
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
### Data Fields
|
| 39 |
+
|
| 40 |
+
Each example contains the following fields:
|
| 41 |
+
|
| 42 |
+
| Field | Type | Description |
|
| 43 |
+
| ------------ | --------- | ---------------------------------------------------- |
|
| 44 |
+
| `speaker_id` | `string` | Anonymous speaker identifier |
|
| 45 |
+
| `age_range` | `string` | Speaker age group |
|
| 46 |
+
| `gender` | `string` | Speaker gender |
|
| 47 |
+
| `prompt_set` | `string` | Prompt category used during recording |
|
| 48 |
+
| `transcript` | `string` | Human-annotated English–Twi code-switched transcript |
|
| 49 |
+
| `duration` | `float32` | Audio duration in seconds |
|
| 50 |
+
| `split` | `string` | Dataset split (`train`, `validation`, or `test`) |
|
| 51 |
+
| `audio` | `Audio` | Speech recording |
|
| 52 |
+
| `file_name` | `string` | Original audio filename |
|
| 53 |
+
| `error` | `string` | Optional annotation or recording error label |
|
| 54 |
+
|
| 55 |
+
|
| 56 |
+
## Example
|
| 57 |
+
|
| 58 |
+
```python
|
| 59 |
+
from datasets import load_dataset, Audio
|
| 60 |
+
|
| 61 |
+
dataset = load_dataset(
|
| 62 |
+
"Kennethdot/Ghana_English-Twi_Code_switching_ASR",
|
| 63 |
+
split="train"
|
| 64 |
+
)
|
| 65 |
+
|
| 66 |
+
dataset = dataset.cast_column(
|
| 67 |
+
"audio",
|
| 68 |
+
Audio(sampling_rate=16000)
|
| 69 |
+
)
|
| 70 |
+
|
| 71 |
+
sample = dataset[0]
|
| 72 |
+
|
| 73 |
+
print(sample["transcript"])
|
| 74 |
+
print(sample["audio"]["sampling_rate"])
|
| 75 |
+
```
|
| 76 |
+
|
| 77 |
+
Example transcript:
|
| 78 |
+
|
| 79 |
+
```text
|
| 80 |
+
Me phone no a-crack-i, henfa na mɛtumi a-fix-i screen no?
|
| 81 |
+
```
|
| 82 |
+
|
| 83 |
+
---
|
| 84 |
+
|
| 85 |
+
## Dataset Creation
|
| 86 |
+
|
| 87 |
+
### Collection Process
|
| 88 |
+
|
| 89 |
+
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.
|
| 90 |
+
|
| 91 |
+
### Annotation Process
|
| 92 |
+
|
| 93 |
+
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.
|
| 94 |
+
|
| 95 |
+
### Speaker Information
|
| 96 |
+
|
| 97 |
+
The dataset includes recordings from speakers spanning multiple age groups and genders. Speaker identities have been anonymized using unique identifiers.
|
| 98 |
+
|
| 99 |
+
---
|
| 100 |
+
|
| 101 |
+
## Dataset Characteristics
|
| 102 |
+
|
| 103 |
+
* **Total recordings:** 54,855
|
| 104 |
+
* **Total duration:** 95.58 hours
|
| 105 |
+
* **Languages:** English, Twi, and English–Twi code-switching
|
| 106 |
+
* **Sampling rate:** 48 kHz (can be resampled to 16 kHz for model training)
|
| 107 |
+
* **Recording style:** Prompted, natural code-switched speech
|
| 108 |
+
* **Transcriptions:** Human-annotated
|
| 109 |
+
|
| 110 |
+
---
|
| 111 |
+
|
| 112 |
+
## Intended Uses
|
| 113 |
+
|
| 114 |
+
KasaSpeech is intended to support research in:
|
| 115 |
+
|
| 116 |
+
* Automatic Speech Recognition (ASR)
|
| 117 |
+
* Code-switching speech modeling
|
| 118 |
+
* Low-resource multilingual speech processing
|
| 119 |
+
* African language technologies
|
| 120 |
+
* Benchmarking multilingual speech models
|
| 121 |
+
* Fine-tuning and evaluating speech foundation models such as Whisper, wav2vec 2.0, MMS, and SeamlessM4T
|
| 122 |
+
|
| 123 |
+
---
|
| 124 |
+
|
| 125 |
+
## Limitations
|
| 126 |
+
|
| 127 |
+
* Demographic representation may not be perfectly balanced across speaker groups.
|
| 128 |
+
* Recording conditions vary across devices and environments.
|
| 129 |
+
* The dataset primarily reflects Ghanaian English–Twi code-switching and may not generalize to all Akan dialects or other multilingual contexts.
|
| 130 |
+
* Although carefully curated, minor transcription inconsistencies may remain.
|
| 131 |
+
|
| 132 |
+
---
|
| 133 |
+
|
| 134 |
+
## Citation
|
| 135 |
+
|
| 136 |
+
If you use **KasaSpeech** in your work, please cite:
|
| 137 |
+
|
| 138 |
+
```bibtex
|
| 139 |
+
@dataset{kasaspeech2026,
|
| 140 |
+
title={KasaSpeech: A Large-Scale English--Twi Code-Switching Speech Dataset},
|
| 141 |
+
author={Dotse, Kenneth},
|
| 142 |
+
year={2026},
|
| 143 |
+
url={https://huggingface.co/datasets/Kennethdot/Ghana_English-Twi_Code_switching_ASR}
|
| 144 |
+
}
|
| 145 |
+
```
|
| 146 |
+
|
| 147 |
+
---
|
| 148 |
+
|
| 149 |
+
## Licensing
|
| 150 |
+
|
| 151 |
+
Please refer to the dataset repository for the applicable license.
|
| 152 |
+
|
| 153 |
+
---
|
| 154 |
+
|
| 155 |
+
## Contact
|
| 156 |
+
|
| 157 |
+
For questions, bug reports, or collaboration opportunities, please open a discussion on the Hugging Face dataset page. Contributions, feedback, and research collaborations are welcome.
|