Professor commited on
Commit
14bfbbd
·
verified ·
1 Parent(s): 48a5d04

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: [ak, tw, fat]
3
+ license: cc-by-4.0
4
+ multilinguality: monolingual
5
+ task_categories: [text-to-speech, automatic-speech-recognition]
6
+ tags: [akan, twi, fante, speech, tts, asr, african-languages, low-resource]
7
+ pretty_name: Akan Speech Data (Pooled)
8
+ size_categories: [10K<n<100K]
9
+ ---
10
+
11
+ # Akan Speech Data (Pooled)
12
+
13
+ A **~75.4-hour** Akan speech corpus, pooling a crowdsourced ASR config with two
14
+ single-narrator studio TTS configs for Akan's Twi and Fante dialects. 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
+ three configs pooled together:
22
+
23
+ - `aka_asr` — crowdsourced, image-prompted speech, many speakers. 12,751 clips, 69.5h.
24
+ - `twi_tts` — single-narrator studio-quality read speech, Twi dialect. 793 clips, 3.0h.
25
+ - `fat_tts` — single-narrator studio-quality read speech, Fante dialect. 874 clips, 2.9h.
26
+
27
+ Twi and Fante are Akan dialects (mutually intelligible to a high degree); they're
28
+ pooled here as one "Akan" release rather than split into separate languages. The
29
+ `domain` field in the manifest preserves which config each clip came from
30
+ (`aka_asr`/`twi_tts`/`fat_tts`), so you can filter by dialect/register if needed.
31
+
32
+ `train`+`validation`+`test` splits are pooled together across all three configs
33
+ (intentional, same policy already applied to WAXAL's other `_tts` configs used
34
+ elsewhere in AfroNet); the `unlabeled` split that exists for `aka_asr` (untranscribed
35
+ audio) is excluded, consistent with AfroNet's no-auto-transcription policy.
36
+
37
+ All audio is standardized to **16 kHz mono FLAC** (lossless), 1–30 second clips.
38
+
39
+ ## Format
40
+
41
+ The dataset ships as **WebDataset-style tar shards** (`shards/shard-00000.tar` …, ~1 GB
42
+ each, one `{key}.flac` file per clip) plus a single manifest (`manifest.parquet` /
43
+ `manifest.jsonl`):
44
+
45
+ | Column | Description |
46
+ |---|---|
47
+ | `key`, `shard` | which tar file + entry holds this clip's audio |
48
+ | `text` | transcript (native script) |
49
+ | `duration` | seconds |
50
+ | `source` | always `waxal` |
51
+ | `dataset_id` | always `0` |
52
+ | `split` | `train` / `val` (250 clips held out for evaluation) |
53
+ | `speaker_id` | source-provided speaker ID |
54
+ | `gender` | speaker metadata where available |
55
+ | `domain` | which WAXAL config the clip came from: `aka_asr`, `twi_tts`, or `fat_tts` |
56
+ | `dbfs`, `clip_ratio`, `sil_ratio` | cheap DSP quality proxies: loudness, fraction of clipped samples, fraction of near-silent frames |
57
+ | `has_disfluency` | always `false` |
58
+
59
+ ## Usage
60
+
61
+ ```python
62
+ from huggingface_hub import hf_hub_download
63
+ import pandas as pd, tarfile, io, soundfile as sf
64
+
65
+ mp = hf_hub_download("Professor/akan-speech-data", "manifest.parquet", repo_type="dataset")
66
+ df = pd.read_parquet(mp)
67
+
68
+ row = df.iloc[0]
69
+ shard_path = hf_hub_download("Professor/akan-speech-data", f"shards/{row.shard}", repo_type="dataset")
70
+ with tarfile.open(shard_path) as tar:
71
+ audio_bytes = tar.extractfile(f"{row.key}.flac").read()
72
+ arr, sr = sf.read(io.BytesIO(audio_bytes))
73
+ ```
74
+
75
+ The tar shards are also directly readable by the [`webdataset`](https://github.com/webdataset/webdataset)
76
+ library for streaming training pipelines.
77
+
78
+ ## Intended use & limitations
79
+
80
+ Built for **Akan TTS/ASR research**, in particular as finetuning data for a
81
+ multilingual TTS model that doesn't natively support Akan. A small slice of this
82
+ corpus (the two `_tts` configs, ~8% of hours) is clean single-speaker studio read
83
+ speech; the large majority (`aka_asr`) is crowdsourced, image-prompted speech with
84
+ many speakers and more variable recording conditions. This is a **research
85
+ aggregation**; 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 its Akan/Twi/Fante-speaking
94
+ 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.