Datasets:
Commit ·
cdd8ea0
0
Parent(s):
Duplicate from vikkyblacq/kare-codeswitch-samples
Browse filesCo-authored-by: Ajayi Victoria <vikkyblacq@users.noreply.huggingface.co>
- .gitattributes +60 -0
- README.md +95 -0
- audio/hausa-01.wav +3 -0
- audio/hausa-02.wav +3 -0
- audio/igbo-01.wav +3 -0
- audio/igbo-02.wav +3 -0
- audio/pidgin-01.wav +3 -0
- audio/pidgin-02.wav +3 -0
- audio/yoruba-01.wav +3 -0
- audio/yoruba-02.wav +3 -0
- metadata.csv +9 -0
.gitattributes
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.avro filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.mds filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
# Audio files - uncompressed
|
| 40 |
+
*.pcm filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
*.sam filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
*.raw filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
# Audio files - compressed
|
| 44 |
+
*.aac filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
*.flac filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
*.ogg filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
*.wav filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
# Image files - uncompressed
|
| 50 |
+
*.bmp filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
*.gif filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
*.tiff filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
# Image files - compressed
|
| 55 |
+
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
*.webp filter=lfs diff=lfs merge=lfs -text
|
| 58 |
+
# Video files - compressed
|
| 59 |
+
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
*.webm filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pretty_name: Kare Code-Switching Illustrative Samples
|
| 3 |
+
task_categories:
|
| 4 |
+
- automatic-speech-recognition
|
| 5 |
+
language:
|
| 6 |
+
- yo
|
| 7 |
+
- ha
|
| 8 |
+
- ig
|
| 9 |
+
- en
|
| 10 |
+
tags:
|
| 11 |
+
- code-switching
|
| 12 |
+
- nigerian-languages
|
| 13 |
+
- yoruba
|
| 14 |
+
- hausa
|
| 15 |
+
- igbo
|
| 16 |
+
- pidgin
|
| 17 |
+
- clinical
|
| 18 |
+
- text-to-speech
|
| 19 |
+
size_categories:
|
| 20 |
+
- n<1K
|
| 21 |
+
---
|
| 22 |
+
|
| 23 |
+
# Kare — Code-Switching Illustrative Samples
|
| 24 |
+
|
| 25 |
+
Eight short audio clips demonstrating the English/Yoruba/Hausa/Igbo/Pidgin
|
| 26 |
+
**code-switching** that [Kare](https://kare-health.vercel.app), a voice-first
|
| 27 |
+
AI health assistant for Nigeria, is built to understand — submitted as part
|
| 28 |
+
of Kare's entry to the **Sahara CodeSwitch Africa Challenge**.
|
| 29 |
+
|
| 30 |
+
## What this is — and isn't
|
| 31 |
+
|
| 32 |
+
- **Is:** eight original sentences, written by the Kare team specifically
|
| 33 |
+
for this demonstration, mixing everyday Yoruba / Hausa / Igbo / Nigerian
|
| 34 |
+
Pidgin with embedded English clinical terms — the exact phenomenon Kare's
|
| 35 |
+
[ASR benchmark](https://raw.githubusercontent.com/Vikky-Ajayi/Kare/main/docs/Kare_Benchmark_Report.pdf)
|
| 36 |
+
exists to measure. Audio was synthesized with **Sahara (Intron) TTS**, the
|
| 37 |
+
speech API this challenge provides.
|
| 38 |
+
- **Isn't** the benchmark corpus itself. Kare's actual benchmark evaluates
|
| 39 |
+
five ASR models against Intron's own `AfriSwitchCare` and `AfriSwitch`
|
| 40 |
+
datasets — real, professionally-produced datasets gated on Hugging Face
|
| 41 |
+
(contact-approval and manual-approval respectively). Those aren't ours to
|
| 42 |
+
redistribute; this repo links to the source instead:
|
| 43 |
+
- https://huggingface.co/datasets/intronhealth/AfriSwitchCare
|
| 44 |
+
- https://huggingface.co/datasets/intronhealth/AfriSwitch
|
| 45 |
+
|
| 46 |
+
This dataset is a small, original, fully-owned set built to give reviewers
|
| 47 |
+
something to actually listen to without going through that gate. No human
|
| 48 |
+
speaker's voice or identity is involved — every clip is machine-synthesized
|
| 49 |
+
from text we wrote — so there is no consent or de-identification question
|
| 50 |
+
to begin with.
|
| 51 |
+
|
| 52 |
+
## Contents
|
| 53 |
+
|
| 54 |
+
8 clips, ~35 seconds total, 2 per language (Yoruba, Hausa, Igbo, Nigerian
|
| 55 |
+
Pidgin), each pairing everyday matrix-language grammar with embedded English
|
| 56 |
+
clinical vocabulary (symptom names, drug names). See `metadata.csv` for the
|
| 57 |
+
full table (`file_name`, `language_code`, `language`, `duration_s`, `text`,
|
| 58 |
+
`english_gloss`, `voice`).
|
| 59 |
+
|
| 60 |
+
| Clip | Language | Duration | Text |
|
| 61 |
+
|---|---|---|---|
|
| 62 |
+
| yoruba-01 | Yoruba | 3.48s | Doctor, ara mi gbóná, and mo ní headache láti àárọ̀. |
|
| 63 |
+
| yoruba-02 | Yoruba | 3.05s | Mo ti mu paracetamol, but the fever ò tíì lọ. |
|
| 64 |
+
| hausa-01 | Hausa | 4.79s | Likita, ina jin zafi a ciki na, and I've been vomiting since last night. |
|
| 65 |
+
| hausa-02 | Hausa | 3.44s | Na sha the malaria drugs, but zazzabi bai tafi ba. |
|
| 66 |
+
| igbo-01 | Igbo | 4.57s | Dọkịta, ahụ na-esi m ike kemgbe ụtụtụ, and my whole body feels weak. |
|
| 67 |
+
| igbo-02 | Igbo | 2.74s | Ejila m ọgwụ ahụ, but the swelling ka nọ. |
|
| 68 |
+
| pidgin-01 | Nigerian Pidgin | 7.14s | Doctor, the malaria don come back. My body dey hot since morning, and the sharp pain for my side never stop. |
|
| 69 |
+
| pidgin-02 | Nigerian Pidgin | 5.40s | I don dey take the tablet wey you give me, but the swelling never really go down. |
|
| 70 |
+
|
| 71 |
+
English glosses for all eight are in `metadata.csv`.
|
| 72 |
+
|
| 73 |
+
## A note on accuracy
|
| 74 |
+
|
| 75 |
+
The Pidgin and Yoruba lines were written and checked by the team directly;
|
| 76 |
+
Hausa and Igbo constructions were written in-house for this demo and are
|
| 77 |
+
common, everyday phrasing, but have **not** been reviewed by a native or
|
| 78 |
+
professional linguist. If something reads oddly to a fluent speaker, treat
|
| 79 |
+
it as a demo-quality artifact, not a claim of linguistic authority.
|
| 80 |
+
|
| 81 |
+
## Provenance & reuse
|
| 82 |
+
|
| 83 |
+
- **Text**: original, written by the Kare team for this submission — free
|
| 84 |
+
to reuse or adapt.
|
| 85 |
+
- **Audio**: synthesized via Sahara (Intron) TTS under Kare's access to that
|
| 86 |
+
API for the Sahara CodeSwitch Africa Challenge; shared here for challenge
|
| 87 |
+
review. If you want to reuse the audio itself outside that context, check
|
| 88 |
+
with Intron on Sahara TTS output terms first.
|
| 89 |
+
- **Loading**: standard Hugging Face `audiofolder` layout —
|
| 90 |
+
`load_dataset("vikkyblacq/kare-codeswitch-samples")` picks up
|
| 91 |
+
`metadata.csv` automatically.
|
| 92 |
+
|
| 93 |
+
Built for the [Sahara CodeSwitch Africa Challenge](https://huggingface.co/datasets/intronhealth/AfriSwitchCare).
|
| 94 |
+
Kare's full benchmark, code and submission materials:
|
| 95 |
+
https://github.com/Vikky-Ajayi/Kare
|
audio/hausa-01.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ef5cea1851f2799cca43a8b63c5afbac122449cdad0522881ebd4e8ceeca2c20
|
| 3 |
+
size 211244
|
audio/hausa-02.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f60366ee1100ffe21b635dd55d928751540ca673ea5251bf7391f2397c0cf4a8
|
| 3 |
+
size 151724
|
audio/igbo-01.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e97f57f900d651268ccf36e494c2eb262ba058feff9dae0b8d591b676d084400
|
| 3 |
+
size 201644
|
audio/igbo-02.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4bd0b7d3f13536b07aa4208fe7ce78515879ff329a29530a049f8819909289ea
|
| 3 |
+
size 121004
|
audio/pidgin-01.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:81cd4d1fd2dd3c306a1b101a2983af6c4ab3582f01752bb924266662b64f4311
|
| 3 |
+
size 314924
|
audio/pidgin-02.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ba39717abf8cd3b007f2e5b0cecd5e8db53cf674d8477325c5a16a8cfbe76770
|
| 3 |
+
size 238124
|
audio/yoruba-01.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e4b1a3795c5e58f79c83b982d8427df0cdca8e152aad96393e28341079bc2526
|
| 3 |
+
size 153644
|
audio/yoruba-02.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:948dd5dae0d64024d270cb50710fb5cf80b201a28402770b1c5320b6854295c3
|
| 3 |
+
size 134444
|
metadata.csv
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
file_name,language_code,language,duration_s,text,english_gloss,voice
|
| 2 |
+
audio/yoruba-01.wav,yo,Yoruba,3.48,"Doctor, ara mi gbóná, and mo ní headache láti àárọ̀.","Doctor, my body is hot, and I've had a headache since morning.",Sahara TTS (Intron)
|
| 3 |
+
audio/yoruba-02.wav,yo,Yoruba,3.05,"Mo ti mu paracetamol, but the fever ò tíì lọ.","I've taken paracetamol, but the fever hasn't gone yet.",Sahara TTS (Intron)
|
| 4 |
+
audio/hausa-01.wav,ha,Hausa,4.79,"Likita, ina jin zafi a ciki na, and I've been vomiting since last night.","Doctor, I feel pain in my stomach, and I've been vomiting since last night.",Sahara TTS (Intron)
|
| 5 |
+
audio/hausa-02.wav,ha,Hausa,3.44,"Na sha the malaria drugs, but zazzabi bai tafi ba.","I took the malaria drugs, but the fever hasn't gone.",Sahara TTS (Intron)
|
| 6 |
+
audio/igbo-01.wav,ig,Igbo,4.57,"Dọkịta, ahụ na-esi m ike kemgbe ụtụtụ, and my whole body feels weak.","Doctor, my body has been aching since morning, and my whole body feels weak.",Sahara TTS (Intron)
|
| 7 |
+
audio/igbo-02.wav,ig,Igbo,2.74,"Ejila m ọgwụ ahụ, but the swelling ka nọ.","I've taken that medicine, but the swelling is still there.",Sahara TTS (Intron)
|
| 8 |
+
audio/pidgin-01.wav,pcm,Nigerian Pidgin,7.14,"Doctor, the malaria don come back. My body dey hot since morning, and the sharp pain for my side never stop.","Doctor, the malaria has come back. My body has been hot since morning, and the sharp pain in my side hasn't stopped.",Sahara TTS (Intron)
|
| 9 |
+
audio/pidgin-02.wav,pcm,Nigerian Pidgin,5.4,"I don dey take the tablet wey you give me, but the swelling never really go down.","I've been taking the tablet you gave me, but the swelling hasn't really gone down.",Sahara TTS (Intron)
|