Instructions to use anyantudre/waxal-asr-challenge-models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use anyantudre/waxal-asr-challenge-models with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="anyantudre/waxal-asr-challenge-models")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("anyantudre/waxal-asr-challenge-models", device_map="auto") - Notebooks
- Google Colab
- Kaggle
WAXAL ASR Challenge models
Lingala and Shona speech recognition checkpoints from our 2nd place solution to the Google WAXAL ASR Challenge.
This repository holds every checkpoint from our own work on the Google WAXAL ASR Challenge on Zindi. The 11 runs at the top level are the fine-tuned members of the submitted ensemble. archive/ keeps 20 development runs from July and August 2026. The code that trains and combines them is in google-waxal-asr-challenge-solution.
| Task | Speech recognition, Lingala and Shona (one run also Luganda), 16 kHz |
| Base models | facebook/w2v-bert-2.0 with a CTC head (10 runs), openai/whisper-large-v3-turbo (1 run) |
| Training data | google/WaxalNLP and the public corpora in anyantudre/waxal-linsna; see each run |
| Result | 2nd place, private leaderboard 0.772552, public 0.766791 (recipe p2n_mbr, an ensemble of the 11 runs plus one third-party model) |
| Best single run | w2vbert-linsna-distilled, public leaderboard 0.746787 |
| Trained | July and August 2026 |
Résumé en français. Ce dépôt regroupe tous les modèles de notre solution au Google WAXAL ASR Challenge sur Zindi (2e place, score privé 0,772552, public 0,766791). Ce sont des modèles de reconnaissance de la parole pour le lingala et le shona, affinés à partir de
facebook/w2v-bert-2.0(tête CTC) et deopenai/whisper-large-v3-turbo. Les 11 dossiers à la racine sont les membres de l'ensemble soumis ; chaque dossier a son propre README avec les données, la configuration et les scores. Le meilleur modèle seul estw2vbert-linsna-distilled(0,746787 en public). Le dossierarchive/garde 20 entraînements de développement. On charge un modèle avecsubfolder="<dossier>". Le code est sur GitHub :anyantudre/google-waxal-asr-challenge-solution. Licence Apache 2.0 ; contact : nyantudrealban@gmail.com.
Quick start
Each run is a folder. Pass its name as subfolder:
import soundfile as sf, torch
from transformers import Wav2Vec2BertForCTC, Wav2Vec2BertProcessor
repo, run = "anyantudre/waxal-asr-challenge-models", "w2vbert-linsna-distilled"
processor = Wav2Vec2BertProcessor.from_pretrained(repo, subfolder=run)
model = Wav2Vec2BertForCTC.from_pretrained(repo, subfolder=run).eval()
wav, sr = sf.read("clip.wav", dtype="float32") # mono, resampled to 16 kHz
inputs = processor(wav, sampling_rate=16000, return_tensors="pt")
with torch.no_grad():
print(processor.batch_decode(model(**inputs).logits.argmax(-1))[0])
The Whisper run loads the same way with WhisperProcessor and WhisperForConditionalGeneration and subfolder="whisper-turbo-linsna". When you transcribe a batch, pass the attention mask to the CTC models: without it, self-attention treats the zero-padding of shorter clips as audio, which changed about half of all transcripts in our check.
To fetch one run only:
from huggingface_hub import snapshot_download
snapshot_download("anyantudre/waxal-asr-challenge-models", allow_patterns="w2vbert-linsna-seed43/*", local_dir="models")
To rebuild the submission, use make submission in the GitHub repository. It downloads the runs it needs from this repository.
Runs
The holdout is a speaker-disjoint part of the WAXAL training data, not the competition test set, and the language it covers varies by run. Read it as a training diagnostic: in this project the holdout and the leaderboard often disagreed. Error is 0.5 * (WER + CER), lower is better. The leaderboard score is 1 - 0.5 * (WER + CER), higher is better.
| Folder | Languages | Starts from | Training data | Holdout error | Public score, run alone | Role |
|---|---|---|---|---|---|---|
w2vbert-linsnalug-raw |
ln, sn, lg | w2v-bert-2.0 | WAXAL train + validation, 3 languages | 0.3131 (ln) | 0.742142 | root of the family, only run that saw Luganda |
w2vbert-linsna-seed43 |
ln, sn | w2v-bert-2.0, seed 43 | WAXAL train + validation, Phase 1 test (gold) | 0.2862 | not run | anchor of 6 of the 7 ensembles |
w2vbert-linsna-seed44 |
ln, sn | w2v-bert-2.0, seed 44 | as seed43, plus FLEURS, Shunya Lingala, ASR Africa Shona | 0.2809 | not run | voting member |
w2vbert-linsna-seed46 |
ln, sn | w2v-bert-2.0, seed 46 | as seed43 | 0.2588 | not run | anchor of p2n_ens_s46anchor |
w2vbert-lin-specialist |
ln | w2vbert-linsnalug-raw |
AfriVoice Lingala, then a WAXAL Lingala refresh | 0.2785 (ln) | 0.744835 with the Shona specialist, routed by language ID | voting member |
w2vbert-sna-specialist |
sn | w2vbert-linsnalug-raw |
AfriVoice Shona, then a WAXAL Shona refresh | 0.1616 (sn) | see above | voting member |
w2vbert-linsna-afrivoicemix |
ln, sn | w2vbert-linsnalug-raw |
WAXAL + AfriVoice Lingala and Shona, mixed | 0.2599 | 0.726089 | voting member; a retrain, see below |
w2vbert-linsna-soup5 |
ln, sn | uniform average of 5 runs of the raw family | none (averaging only) | 0.1610 (sn) | 0.746054 | voting member |
w2vbert-linsna-soup6 |
ln, sn | soup5 members + the distilled run | none (averaging only) | not run | not run | voting member in p2n_ens_soup6 |
w2vbert-linsna-distilled |
ln, sn | w2vbert-linsna-soup5 |
WAXAL train, Phase 1 test (gold), ensemble transcripts of the 892 Phase 2 test clips | 0.2746 | 0.746787 | best single run |
whisper-turbo-linsna |
ln, sn | whisper-large-v3-turbo | WAXAL train + validation, Phase 1 test (gold) | 0.2772 | 0.7331 | voting member, architectural diversity |
Each folder has its own README.md with the full data table, training settings and the measurements behind its role. Shared settings for the w2v-BERT runs: effective batch 36, bf16, MUSAN noise and room-impulse augmentation in the collator, raw targets (NFC and whitespace only, so casing and punctuation are learned), one NVIDIA RTX 5090.
Ensembles combine the runs by character-level ROVER, with extra members decoded under a CTC blank penalty. The scored recipe p2n_mbr picks, for each clip, the transcript of seven ensembles that is closest to the 26 members of p2n_ens_masked. The recipes are in configs/ensembles.yaml on GitHub.
Disclosures
- The WAXAL Phase 1 test split (gold transcripts released by the organisers) is training data for several runs. Phase 2 allows this and the organisers confirmed it publicly. It is not the Phase 2 test set.
w2vbert-linsna-distilledalso trained on the 892 Phase 2 test clips, with our ensemble's transcripts as targets. This is self-training on unlabeled test audio, which the organisers allow with disclosure. No test reference transcript was used.w2vbert-linsna-soup6averages this run in, so it inherits the same property.w2vbert-linsna-afrivoicemixis a retrain from the same config and seed. The submitted weights were lost to a disk cleanup. The 26-member ensemble built with the retrain scored 0.764774 against 0.764915 with the original.
archive/
Development runs from before the final recipe, kept as they were backed up from the training server. They are not needed to rebuild the submission. Most load like the runs above with subfolder="archive/<name>"; the two omni_ctc* folders are raw training-state files (sdp_00.pt) from a different toolkit and do not load with transformers. The score is each run's own validation at the time (final_metrics.json), measured on holdouts that changed over the project, so the rows are not comparable with each other or with the table above.
| Folder | Base | Languages | Notes | Own validation error |
|---|---|---|---|---|
w2vbert_multi |
w2v-bert-2.0 | ln, sn, lg | first joint run, July | 0.2067 |
w2vbert_robust |
w2v-bert-2.0 | ln, sn, lg | + pseudo-labels, full noise augmentation; July champion | 0.1965 |
w2vbert_full |
w2v-bert-2.0 | ln, sn, lg | + pseudo-labels | 0.1951 |
w2vbert_p1raw |
w2v-bert-2.0 | ln, sn, lg | same weights as w2vbert-linsnalug-raw |
0.2319 |
w2vbert_waxal5m |
w2v-bert-2.0 | mixed, see its config.yaml |
first raw-vocabulary run of Phase 2 | 0.1378 |
w2vbert_linspec_p2 |
Lingala specialist | ln | pseudo-label round, ingredient of soup5 | 0.2866 |
w2vbert_snaspec_p2 |
Shona specialist | sn | pseudo-label round, ingredient of soup5 | 0.2007 |
w2vbert_s44r |
seed44 run | ln, sn | low learning-rate WAXAL refresh; no gain | 0.2552 |
w2vbert_distil2 |
soup | ln, sn | second distillation run | 0.2429 |
xlsr_multi |
wav2vec2-xls-r-300m | ln, sn, lg | XLS-R baseline | 0.2152 |
xlsr_aug |
wav2vec2-xls-r-300m | ln, sn, lg | + noise augmentation | 0.2143 |
xlsr_ext |
wav2vec2-xls-r-300m | ln, sn, lg | + FLEURS | 0.2137 |
xlsr_extall |
wav2vec2-xls-r-300m | ln, sn, lg | + FLEURS and open Bible audio | 0.2233 |
xlsr_pseudo |
wav2vec2-xls-r-300m | ln, sn, lg | + pseudo-labels | 0.2167 |
whisper_small |
whisper-small | ln, sn, lg | 0.4368 | |
whisper_medium |
whisper-medium | ln, sn, lg | 0.3364 | |
whisper_turbo |
whisper-large-v3-turbo | ln, sn, lg | + pseudo-labels | 0.1536 |
mms_lin |
mms-1b-all | ln | Lingala only | 0.2810 |
omni_ctc300m/step_5000 |
Omnilingual ASR CTC 300M | training state only | ||
omni_ctc1b_pseudo/step_8000 |
Omnilingual ASR CTC 1B | training state only, + pseudo-labels |
Limits
- Trained for spontaneous photo descriptions recorded on consumer devices (WAXAL, about 20 s per clip). Expect higher error on read speech, other domains or noisy audio.
- Greedy CTC decoding with no language model. The single runs are well below the ensemble; the leaderboard results need the full recipe.
- Only
w2vbert-linsnalug-raw(and some archive runs) saw Luganda. The Phase 2 test set turned out to hold Lingala and Shona only.
License
Apache 2.0 for the weights. The training data keeps its own licences; see the dataset cards linked from each run. Questions, including commercial use: nyantudrealban@gmail.com.
Citation
@misc{nyantudre2026waxalasr,
title = {WAXAL ASR Challenge models: Lingala and Shona speech recognition checkpoints},
author = {Nyantudre, Wendyellé Abubakrh Alban},
year = {2026},
howpublished = {Hugging Face Models},
url = {https://huggingface.co/anyantudre/waxal-asr-challenge-models}
}
Model tree for anyantudre/waxal-asr-challenge-models
Base model
facebook/w2v-bert-2.0