DSN 2026 - Find the Language (baseline)
Classifies a short speech clip into 12 Nigerian languages (yor, ibo, hau, ego, anw, efi, ibb, idu, igl, nup, tiv, urh) or other.
Approach
- Base model:
facebook/mms-300m(wav2vec 2.0 pretrained on many languages), truncated to its lower 12 transformer layers for speed and size. - Weighted sum of layer outputs -> mean pooling -> linear classifier (
AutoModelForAudioClassification). - Training: rare languages oversampled (sampling weight proportional to count^-0.7), label smoothing 0.05, random 6 s crops, fp16 mixed precision. Weights saved in fp16.
- The 'other' class is calibrated with a bias on its output logit.
Training data
Only the official competition data, Data-Science-Nigeria/dsn-2026-lid-train (train split for training, validation split for model selection). No external datasets were used. That dataset combines afrispeech_ipa (CC-BY-4.0), hypa_voices (Apache-2.0) and omnilingual_asr (CC-BY-4.0; https://arxiv.org/abs/2511.09690). EDIT ME if you add anything else.
Results
Official validation split (speakers not seen in training): accuracy 0.737, language-weighted F1 0.506. 165M parameters, 329 MB of fp16 weights.