Datasets:
Kiswahili Classifier — Common Voice
1000 Swahili clips from Common Voice, balanced 500 valid / 500 invalid, with the acoustic and ASR-derived features needed to train a classifier that predicts whether a crowdsourced recording is usable for ASR training.
The labels are Common Voice's own community votes: a clip is valid if it appears in
validated.tsv (enough contributors judged that it matches its prompt and is clean) and
invalid if it appears in invalidated.tsv.
This reproduces, for Kiswahili, the feature set and task of Crowdsourced Data Validation for ASR Training (Phatthiyaphaibun et al., Interspeech 2023).
Loading
from datasets import load_dataset
ds = load_dataset("<user>/<dataset>", split="train")
ds[0]["audio"], ds[0]["label_name"], ds[0]["sentence"]
Columns
| Column | Meaning |
|---|---|
audio / file_name |
the mp3 clip (Common Voice, 48 kHz) |
label |
1 = valid, 0 = invalid |
label_name |
valid / invalid |
sentence |
the prompt the contributor was asked to read |
asr_phonemes |
IPA output of facebook/wav2vec2-xlsr-53-espeak-cv-ft, greedy CTC, int8-quantised |
ref_ipa |
the prompt converted to IPA by a rule-based Swahili G2P |
hyp_ipa |
asr_phonemes folded onto the same Swahili inventory |
snr |
WADA-SNR (dB) over the VAD speech frames |
dur |
clip duration (s) |
vad_dur |
speech duration from webrtcvad (aggressiveness 2, 30 ms frames) |
vad_ratio |
vad_dur / dur |
cer |
character error rate, hypothesis vs prompt (phone strings) |
len_gt |
words in the prompt |
len_hyp |
phones in the hypothesis |
gt_word_dur_vad |
vad_dur / len_gt |
hyp_word_dur_vad |
vad_dur / len_hyp |
per |
phone error rate |
ipa_ed |
PanPhon articulatory-feature edit distance per reference phone |
archive_order |
position in the source archive (see Sampling) |
row_order |
position in the original feature table — sort by this before training |
split |
the 70/15/15 stratified split (seed 42) used for the baseline below |
Reproducing the baseline
Use the split column rather than re-splitting, and sort by row_order first. This file is
written valid-then-invalid, but the baseline was trained in a shuffled order, and several of the
models depend on the order of the training rows and not only on which rows they are: the MLP's
minibatch sequence and its internal early-stopping split, kNN tie-breaking, and random-forest
bootstrapping. Train on the rows in a different order and the numbers move by a few points — on
this data the selected model changes from MLP to kNN.
| baseline_p_valid | the baseline model's P(valid) for this clip |
| baseline_predicted | its prediction at threshold 0.5 |
Baseline
Six scikit-learn models were grid-searched, selected on validation F1, reported on the 150-clip test split. Positive class = valid.
| Precision | Recall | F1 | |
|---|---|---|---|
| MLP (64), alpha 1e-3 | 0.703 | 0.853 | 0.771 |
General features only (snr, dur, vad_dur, vad_ratio) |
0.579 | 0.880 | 0.698 |
The ASR-derived features add +0.073 F1, almost entirely as precision — acoustic features
alone cannot tell whether a recording matches its prompt. Random-forest importances put
per (0.238), cer (0.229) and ipa_ed (0.177) far ahead of everything else; snr scores
0.021 and barely separates the classes (mean 62.8 dB invalid vs 62.7 dB valid).
Sampling — read this before comparing results
Clips are the first 500 of each class in archive order, not a random sample. The source
archive is 22.4 GB and was streamed only until both classes filled, reading 252 MB (1.1%).
Common Voice orders clips by ID, which correlates with recording date and therefore with
contributor, so this subset draws on a narrower set of speakers than a random sample of the same
size. archive_order is kept so the effect can be checked. Scores here describe this subset.
Other caveats
- Phoneme ASR, not
mms-1b-all. Transcription ran on a 2-core CPU with 0.55 GB free RAM, sofacebook/wav2vec2-xlsr-53-espeak-cv-ftwas used with int8 dynamic quantisation. Hypotheses are IPA phones, socerandlen_hypare phone-level, not word-level, and quantisation perturbs the phone output slightly. - WADA-SNR is computed over VAD speech frames, not whole clips. On whole clips the silence makes every clip exceed the Gamma model's ceiling and the estimate pins to 100 dB, carrying no information. About a third of clips still sit at the ceiling.
- The test split is 150 clips. Differences under ~0.05 F1 are not meaningful.
- Labels are community votes, so some reflect accent or hesitation judgements rather than clear defects.
Provenance and licence
Source: Common Voice Scripted Speech 27.0 — Swahili (cmu5sgles002zo1071nphgtby) via the
Mozilla Data Collective, published 2026-09-17. Common Voice is released under CC0-1.0, and
this subset keeps that licence. No contributor demographics (client_id, age, gender, accent)
are included.
If you use this, please credit Mozilla Common Voice, and cite the paper the method comes from:
@inproceedings{phatthiyaphaibun2023crowdsourced,
title = {Crowdsourced Data Validation for ASR Training},
author = {Phatthiyaphaibun, Wannaphong and others},
booktitle = {Interspeech},
year = {2023}
}
- Downloads last month
- 47