Afrivoice_V2 / README.md
Kira-Floris's picture
Add README
7a8eb2e verified
|
Raw
History Blame Contribute Delete
5.11 kB
---
license: cc-by-4.0
language:
- rn
- ndc
- nd
pretty_name: Afrivoice V2
task_categories:
- automatic-speech-recognition
tags:
- DigitalUmuganda
- DU
- Kirundi
- Ndau
- Ndebele
- Oshiwambo
- rn
- ndc
- nd
- asr
- stt
- voice
- speech
size_categories:
- 100K<n<1M
annotations_creators:
- crowdsourced
language_creators:
- crowdsourced
---
# Dataset Card for the image text and voice dataset
## Dataset Description
This is an image prompt ASR dataset 4 African languages; Kirundi, Ndau, Ndebele, and Oshiwambo. Each language was collected on at most 2 domains.
| Language | Domain | Total hours | Total transcribed hours | Total clips | Size (GB) |
|----------|--------|------------:|------------------------:|------------:|----------:|
| Kirundi | Agriculture | 125.42 | 125.42 | 24,926 | 7.2241 |
| | Education | 255.49 | 255.49 | 48,229 | 16.4548 |
| | **Sub Total** | **380.92** | **380.92** | **73,155** | **23.6789** |
| Ndau | Education | 60.28 | 60.28 | 11,670 | 4.0830 |
| | Health | 266.30 | 266.30 | 51,719 | 12.9714 |
| | **Sub Total** | **326.59** | **326.59** | **63,389** | **17.0544** |
| Ndebele | Education | 89.82 | 89.82 | 16,796 | 5.8412 |
| | Health | 353.15 | 353.15 | 66,456 | 16.5682 |
| | **Sub Total** | **442.96** | **442.96** | **83,252** | **22.4094** |
| Oshiwambo | Agriculture | 143.14 | 143.14 | 24,827 | 8.4778 |
| | Finance | 99.14 | 99.14 | 17,300 | 5.8693 |
| | **Sub Total** | **242.29** | **242.29** | **42,127** | **14.3471** |
| **Total** | | **1,392.76** | **1,392.76** | **261,923** | **77.4898** |
## How to use
The `huggingface_hub` library allows you to load and pre-process your dataset in pure Python, at scale. The dataset can be downloaded in one call to your local drive by using the `snapshow_download` function.
### For full dataset
```python
from huggingface_hub import snapshot_download
snapshot_download(
repo_id="DigitalUmuganda/Afrivoice_V2",
repo_type='dataset',
local_dir='<destination_dir>'
)
```
### Download a particular language
```python
from huggingface_hub import snapshot_download
snapshot_download(
repo_id="DigitalUmuganda/Afrivoice_V2",
repo_type="dataset",
local_dir="<destination_dir>",
allow_patterns="Kirundi/*"
)
```
The languages options are:
- Kirundi
- Ndau
- Ndebele
- Oshiwambo
## Dataset Structure
### Data Instance
```python
{
"voice_creator_id":"KGDIxAHRYAOvBRkfZGgi5708Hz82",
"image_filepath":"6cbf90cf3951_0.jpg",
"image_category":"agriculture",
"image_sub_category":"Food banks & food crops and farmers",
"category":"agriculture",
"audio_filepath":"UKfpM5rleuyc0T85HWOn.webm",
"transcription":"Abagabo batatu bahagaze mu murima, bikoreye ku bitugu, udukoresho babikamwo ivyo basoromye. Inyuma y'abo hakaba hari ibiti bitari bike bihatewe.",
"normalized_transcription":"abagabo batatu bahagaze mu murima bikoreye ku bitugu udukoresho babikamwo ivyo basoromye inyuma yabo hakaba hari ibiti bitari bike bihatewe",
"age_group":"18-24",
"gender":"Male",
"project_name":"Digital Umuganda",
"locale":null,
"year":2026,
"duration":15.48,
"location":null,
"uid":"KGDIxAHRYAOvBRkfZGgi5708Hz82",
"key":"UKfpM5rleuyc0T85HWOn",
"dir_path":"agriculture_kirundi_dev",
"shard_id":0,
"image_shard_id":0
}
```
### Data Fields
`voice_creator_id` (`string`): An id for which client (voice) made the recording
`transcription_creator_id` (`string`): An id for which client (text) made the transcription
`transcription` (`string`): Original audio transcription with punctuation and capitalization
`normalized_transcription` (`string`): Original audio transcription without punctuation and capitalization
`image_filepath` (`string`): file path of the image file inside the dataset
`audio_filepath` (`string`): file path of the audio file inside the dataset
`dir_path` (`string`): main directory path of the record
`shard_id` (`string`): chunk identification number where the audio record belong
`image_shard_id` (`string`): chunk identification number where the image record belong
`age_group` (`string`): age range of the audio recorder
`gender` (`string`): The gender of the speaker
`location` (`string`): geographical location of the audio recorder
`duration` (`int`): length in seconds of the audio file
`image_category` (`string`): domain of the image (eg: health, agriculture, finance), used as prompt during audio creation.
`image_sub_category` (`string`): Sub-domain label of the image (e.g., within agriculture: “seed farming” or “forestry”), used to guide audio creation.
`category` (`string`): category of the record
`project` (`string`): project name
`locale` (`string`): The locale of the speaker
`year` (`int`): Year of recording
`project_name` (`string`): project name
`location` (`string`): location of the project
`key` (`string`): key identifier of the data point
# Licensing Information
All datasets are licensed under the [Creative Commons license (CC-BY-4)](https://creativecommons.org/licenses/).