Data-Science-Nigeria/dsn-2026-lid-train
Viewer โข Updated โข 29.1k โข 643 โข 24
How to use Prestigeeo/dsn-2026-lid-xlsr with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="Prestigeeo/dsn-2026-lid-xlsr") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("Prestigeeo/dsn-2026-lid-xlsr")
model = AutoModelForAudioClassification.from_pretrained("Prestigeeo/dsn-2026-lid-xlsr", device_map="auto")Whisper-Base 10s Lid-Calibrated)
This model is a fine-tuned openai/whisper-base (WhisperForAudioClassification) built for the DSN 2026: Find the Language I Am Speaking challenge.
WhisperForAudioClassification with learned weighted encoder layer sum (use_weighted_layer_sum=True), classifier_proj_size=256, and 10-second positional encoding window (max_source_positions=500, chunk_length=10, nb_max_frames=1000).torch.float32 (safetensors, ~81 MB total repository size, well below the 1.5 GB limit) to guarantee zero CPU/GPU dtype mismatch (float16 vs float32) during standard AutoModelForAudioClassification evaluation.Trained exclusively on the official competition dataset (Data-Science-Nigeria/dsn-2026-lid-train, 29,126 clips across 13 classes). Zero external audio datasets were used.
We gratefully acknowledge the upstream open speech corpora curated in the competition dataset:
afrispeech_ipa)hypa_voices)omnilingual_asr)nup), we hold out 36 Nupe clips from train into a 13-class validation split (4,388 clips) for full 13-class evaluation and calibration.WeightedRandomSampler and label-smoothed cross-entropy weighted by competition evaluation weights (0.087 for the 10 low-resource/confuser classes, 0.043 for yor, ibo, hau).0.9xโ1.1x), simulated 8 kHz telephone bandpass, additive background noise (12โ28 dB SNR), random gain, and GPU SpecAugment.model.classifier.bias.| Language Code | Competition Weight | Validation F1 |
|---|---|---|
yor |
0.043 | 0.8333 |
ibo |
0.043 | 0.9588 |
hau |
0.043 | 0.9615 |
ego |
0.087 | 0.9005 |
anw |
0.087 | 0.8883 |
efi |
0.087 | 0.2254 |
ibb |
0.087 | 0.3732 |
idu |
0.087 | 0.8650 |
igl |
0.087 | 0.2745 |
nup |
0.087 | 0.9091 |
tiv |
0.087 | 0.4223 |
urh |
0.087 | 0.9782 |
other |
0.087 | 0.8638 |
Base model
openai/whisper-base