Professor commited on
Commit
9ba57f2
·
verified ·
1 Parent(s): b94804a

Add dataset card

Browse files
Files changed (1) hide show
  1. README.md +97 -0
README.md ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: [myx]
3
+ license: cc-by-4.0
4
+ multilinguality: monolingual
5
+ task_categories: [text-to-speech, automatic-speech-recognition]
6
+ tags: [masaaba, lugisu, gisu, speech, tts, asr, african-languages, low-resource]
7
+ pretty_name: Masaaba Speech Data (Pooled)
8
+ size_categories: [1K<n<10K]
9
+ ---
10
+
11
+ # Masaaba Speech Data (Pooled)
12
+
13
+ A **~42.7-hour** Masaaba (Lugisu/Lumasaaba) speech corpus, drawn from a single
14
+ source (WAXAL) and filtered to only genuinely transcribed audio. Part of the
15
+ [AfroNet](https://github.com/osinkolu/afronet-tts-data) multi-language TTS data
16
+ effort.
17
+
18
+ ## Source
19
+
20
+ [**WAXAL**](https://huggingface.co/datasets/google/WaxalNLP) (`google/WaxalNLP`),
21
+ `mas_asr` config — crowdsourced, image-prompted speech collected via Makerere
22
+ University's "Yogera" app (the same pipeline used for WAXAL's Lusoga data). 7,947
23
+ clips, 42.7h, `source` = `waxal`.
24
+
25
+ **A naming note:** WAXAL's config code for this language is `mas`, which is also the
26
+ ISO 639-3 code for the Nilotic **Maasai** language (spoken in Kenya/Tanzania) — but
27
+ this data is actually **Masaaba/Lugisu**, a Bantu language of Uganda/Kenya, per
28
+ WAXAL's own provider documentation. It is **not** the same language as
29
+ [Anv-ke/Maasai](https://huggingface.co/datasets/Anv-ke/Maasai), which we've
30
+ separately published as `Professor/maasai-speech-data` and which is the genuine
31
+ Nilotic Maasai language. Don't confuse the two despite the shared 3-letter code.
32
+
33
+ `train`+`validation`+`test` splits are pooled together (intentional, same policy
34
+ already applied to WAXAL's `_tts` configs used elsewhere in AfroNet); the
35
+ `unlabeled` split (untranscribed audio) is excluded, consistent with AfroNet's
36
+ no-auto-transcription policy.
37
+
38
+ All audio is standardized to **16 kHz mono FLAC** (lossless), 1–30 second clips.
39
+
40
+ ## Format
41
+
42
+ The dataset ships as **WebDataset-style tar shards** (`shards/shard-00000.tar` …, ~1 GB
43
+ each, one `{key}.flac` file per clip) plus a single manifest (`manifest.parquet` /
44
+ `manifest.jsonl`):
45
+
46
+ | Column | Description |
47
+ |---|---|
48
+ | `key`, `shard` | which tar file + entry holds this clip's audio |
49
+ | `text` | transcript (native script) |
50
+ | `duration` | seconds |
51
+ | `source` | always `waxal` |
52
+ | `dataset_id` | always `0` |
53
+ | `split` | `train` / `val` (250 clips held out for evaluation) |
54
+ | `speaker_id` | source-provided speaker ID |
55
+ | `gender` | speaker metadata where available |
56
+ | `domain` | always `mas_asr` |
57
+ | `dbfs`, `clip_ratio`, `sil_ratio` | cheap DSP quality proxies: loudness, fraction of clipped samples, fraction of near-silent frames |
58
+ | `has_disfluency` | always `false` |
59
+
60
+ ## Usage
61
+
62
+ ```python
63
+ from huggingface_hub import hf_hub_download
64
+ import pandas as pd, tarfile, io, soundfile as sf
65
+
66
+ mp = hf_hub_download("Professor/masaaba-speech-data", "manifest.parquet", repo_type="dataset")
67
+ df = pd.read_parquet(mp)
68
+
69
+ row = df.iloc[0]
70
+ shard_path = hf_hub_download("Professor/masaaba-speech-data", f"shards/{row.shard}", repo_type="dataset")
71
+ with tarfile.open(shard_path) as tar:
72
+ audio_bytes = tar.extractfile(f"{row.key}.flac").read()
73
+ arr, sr = sf.read(io.BytesIO(audio_bytes))
74
+ ```
75
+
76
+ The tar shards are also directly readable by the [`webdataset`](https://github.com/webdataset/webdataset)
77
+ library for streaming training pipelines.
78
+
79
+ ## Intended use & limitations
80
+
81
+ Built for **Masaaba TTS/ASR research**, in particular as finetuning data for a
82
+ multilingual TTS model that doesn't natively support Masaaba. Speech is
83
+ crowdsourced and image-prompted, with many speakers and variable recording
84
+ conditions rather than studio-controlled. This is a **research aggregation**;
85
+ usage should respect WAXAL's own terms.
86
+
87
+ ## License
88
+
89
+ CC BY 4.0, per the upstream [WAXAL](https://huggingface.co/datasets/google/WaxalNLP) release.
90
+
91
+ ## Acknowledgments
92
+
93
+ Deep thanks to the **WAXAL** project (Google) and Makerere University's "Yogera"
94
+ initiative, and to Masaaba-speaking contributors for the source corpus.
95
+
96
+ This dataset was pooled by **Victor Olufemi and LyngualLabs** as part of the
97
+ [AfroNet](https://github.com/osinkolu/afronet-tts-data) multi-language TTS data effort.