Professor commited on
Commit
da500b2
·
verified ·
1 Parent(s): d9a9b04

Add dataset card

Browse files
Files changed (1) hide show
  1. README.md +111 -0
README.md ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: [rw]
3
+ license: cc-by-4.0
4
+ multilinguality: monolingual
5
+ task_categories: [text-to-speech, automatic-speech-recognition]
6
+ tags: [kinyarwanda, speech, tts, asr, african-languages, low-resource]
7
+ pretty_name: Kinyarwanda Speech Data (Pooled)
8
+ size_categories: [100K<n<1M]
9
+ ---
10
+
11
+ # Kinyarwanda Speech Data (Pooled)
12
+
13
+ A **~989.9-hour** pooled Kinyarwanda speech corpus, combining two independently-sourced
14
+ datasets into one consistently-formatted corpus for speech modeling (TTS / ASR). Part
15
+ of the [AfroNet](https://github.com/osinkolu/afronet-tts-data) multi-language TTS data
16
+ effort — sibling release to the Yoruba/Hausa/Igbo pools, but sourced entirely
17
+ differently: DSN African Voices, NaijaVoices, and WAXAL (the sources behind the other
18
+ three languages) don't cover Kinyarwanda at all.
19
+
20
+ ## Sources
21
+
22
+ | Source | Clips | Hours | Style |
23
+ |---|---|---|---|
24
+ | [**Afrivoice Kinyarwanda**](https://huggingface.co/datasets/DigitalUmuganda/Afrivoice_Kinyarwanda) (Digital Umuganda) | 183,159 | 983.5 h | crowdsourced spoken image descriptions, 5 domains (agriculture/health/finance/government/education) |
25
+ | [**Kinyarwanda TTS dataset**](https://huggingface.co/datasets/mbazaNLP/kinyarwanda-tts-dataset) (mbazaNLP / Digital Umuganda) | 3,992 | 6.4 h | studio-recorded, single voice actress, linguist-reviewed text |
26
+ | **Total** | **187,151** | **989.9 h** | |
27
+
28
+ All audio is standardized to **16 kHz mono FLAC** (lossless). Clips are **1–30 seconds**;
29
+ empty/garbage transcripts, near-silent clips, and undecodable audio were dropped at
30
+ ingestion.
31
+
32
+ ### On Afrivoice's domain and sampling choices
33
+
34
+ Afrivoice ships six domains; a sixth, **Scripted Education, was deliberately excluded**
35
+ from this pool — its per-clip `duration` field didn't plausibly match its (much longer,
36
+ paragraph-length) transcript text, a red flag for a text-audio mismatch that wasn't
37
+ resolved before this release. The five domains used were each capped at **200 hours**
38
+ (Education came in under cap, at 183.5h, since only ~198.5h total exists for that
39
+ domain after filtering) to keep the corpus from being dominated by whichever domain
40
+ happened to have the most raw hours available (Health alone has 994h in the source
41
+ release).
42
+
43
+ ## Format
44
+
45
+ The dataset ships as **WebDataset-style tar shards** (`shards/shard-00000.tar` …, ~1 GB
46
+ each, one `{key}.flac` file per clip) plus a single manifest (`manifest.parquet` /
47
+ `manifest.jsonl`) that indexes every clip:
48
+
49
+ | Column | Description |
50
+ |---|---|
51
+ | `key`, `shard` | which tar file + entry holds this clip's audio |
52
+ | `text` | transcript (native script). For Afrivoice this is `raw_text` from the source (natural capitalization/punctuation), not its lowercased/stripped `text` field, which is ASR-oriented normalization |
53
+ | `duration` | seconds |
54
+ | `source` | `afrivoice` \| `mbaza_tts` |
55
+ | `dataset_id` | integer id per source (0=afrivoice, 1=mbaza_tts) |
56
+ | `split` | `train` / `val` (250 clips held out per source for evaluation) |
57
+ | `speaker_id`, `gender` | speaker metadata where available (Afrivoice doesn't expose per-speaker IDs; mbaza_tts is single-speaker) |
58
+ | `domain` | Afrivoice's source domain (agriculture/health/financial/government/education); `null` for mbaza_tts |
59
+ | `lufs` | Afrivoice's own broadcast-standard loudness measurement (LUFS), where available — a more principled loudness signal than the `dbfs` proxy below |
60
+ | `dbfs`, `clip_ratio`, `sil_ratio` | cheap DSP quality proxies computed for every clip: loudness, fraction of clipped samples, fraction of near-silent frames |
61
+ | `has_disfluency` | always `false` here — neither source flags disfluencies the way the Nigerian-language sources' ASR transcripts do |
62
+
63
+ ## Usage
64
+
65
+ ```python
66
+ from huggingface_hub import hf_hub_download
67
+ import pandas as pd, tarfile, io, soundfile as sf
68
+
69
+ mp = hf_hub_download("Professor/kinyarwanda-speech-data", "manifest.parquet", repo_type="dataset")
70
+ df = pd.read_parquet(mp)
71
+
72
+ row = df.iloc[0]
73
+ shard_path = hf_hub_download("Professor/kinyarwanda-speech-data", f"shards/{row.shard}", repo_type="dataset")
74
+ with tarfile.open(shard_path) as tar:
75
+ audio_bytes = tar.extractfile(f"{row.key}.flac").read()
76
+ arr, sr = sf.read(io.BytesIO(audio_bytes))
77
+ ```
78
+
79
+ The tar shards are also directly readable by the [`webdataset`](https://github.com/webdataset/webdataset)
80
+ library for streaming training pipelines.
81
+
82
+ ## Intended use & limitations
83
+
84
+ Built for **Kinyarwanda TTS/ASR research**, in particular as pooled finetuning data for
85
+ a multilingual TTS model that doesn't natively support Kinyarwanda. The bulk of this
86
+ corpus (Afrivoice) is speech describing photographs across five institutional
87
+ domains — a fairly narrow register (descriptive, matter-of-fact) compared to natural
88
+ conversation or narrative speech; the small mbaza_tts portion is the only genuinely
89
+ TTS-purpose-built, studio-quality anchor. This is a **research aggregation**; usage
90
+ should respect the terms of each constituent source below.
91
+
92
+ ## License
93
+
94
+ Both constituent sources are CC BY 4.0. Consult each source's own page for full terms:
95
+ [Afrivoice Kinyarwanda](https://huggingface.co/datasets/DigitalUmuganda/Afrivoice_Kinyarwanda) ·
96
+ [Kinyarwanda TTS dataset](https://huggingface.co/datasets/mbazaNLP/kinyarwanda-tts-dataset).
97
+
98
+ ## Citations
99
+
100
+ If you use this pooled dataset, please cite the **original sources** it draws from —
101
+ consult each source's own HuggingFace page for their preferred citation, as neither
102
+ currently ships a bibtex entry in-repo.
103
+
104
+ ## Acknowledgments
105
+
106
+ Deep thanks to **Digital Umuganda** for both constituent datasets — the large-scale
107
+ Afrivoice image-description corpus across five domains, and (via the mbaza project)
108
+ the studio-quality single-speaker TTS corpus with linguist-reviewed text.
109
+
110
+ This dataset was pooled by **Victor Olufemi and LyngualLabs** as part of the
111
+ [AfroNet](https://github.com/osinkolu/afronet-tts-data) multi-language TTS data effort.