Nigerian spoken language identification (12 languages + other)
AutoModelForAudioClassification (wav2vec 2.0 architecture). Initialised from facebook/mms-300m and truncated to its
first 15 transformer layers (202M parameters, fp16 weights), with a weighted-layer-sum pooling head
and competition-calibrated linear classifier bias.
Labels: yor ibo hau ego anw efi ibb idu igl nup tiv urh other.
Training data
Only Data-Science-Nigeria/dsn-2026-lid-train (see its ATTRIBUTION.md / LICENSE.md for the per-source licenses: afrispeech_ipa, hypa_voices, omnilingual_asr
as redistributed in that dataset). No external datasets were used. To get a validation signal for Nupe (no validation clips in the
provided split), a contiguous slice of its training clips was held out and not trained on.
Recipe
Lazy random 3.0-9.0 s crops, sqrt-inverse-frequency class sampling, metric-aligned class weights,
label smoothing 0.02, batch waveform mixup (p=0.25, alpha=0.4), tone-preserving augmentation
(+-5% speed, 3-band formant EQ perturbation, reverb, 4-speaker time-reversed crowd babble, coloured noise, phone-band + mu-law, clipping),
frozen CNN encoder, AdamW with Layer-Wise Learning Rate Decay (top encoder 0.0001, decay 0.9, head 0.001),
cosine schedule, fp16 AMP, 10 epochs, followed by coordinate-ascent + Powell prior calibration baked into classifier.bias.
Validation (speaker-disjoint, full-length clips)
Language-weighted F1 0.7087, macro F1 0.7346, accuracy 0.9019.
| class | F1 | val clips |
|---|---|---|
| yor | 0.862 | 330 |
| ibo | 0.977 | 704 |
| hau | 0.953 | 495 |
| ego | 0.993 | 222 |
| anw | 0.885 | 387 |
| efi | 0.023 | 64 |
| ibb | 0.000 | 107 |
| idu | 0.971 | 450 |
| igl | 0.427 | 49 |
| nup | 0.947 | 40 |
| tiv | 0.624 | 213 |
| urh | 0.977 | 550 |
| other | 0.911 | 781 |
License
Inherits the base model's license (facebook/mms-300m); training-data attribution and license terms as listed in the dataset.
- Downloads last month
- 9
Model tree for Idowenst/dsn-lid-mms300m-15L
Base model
facebook/mms-300m