Views
No views yet
openai/whisper-small
for Mongolian (mn) automatic speech recognition, trained on
Blgn94/mongolian-stt-dataset-v24.Blgn94/whisper-small-mn.| Metric | v24 (this model) | Previous whisper-small-mn |
|---|---|---|
| WER | 15.16% | 22.1% |
| CER | 6.60% | 10.3% |
Note on measurement: these numbers are from a fixed 200-sample subset of the validation split, evaluated withpredict_with_generateduring training (the same protocol used for the previous model, so the comparison is apples-to-apples). A full 2,297-row validation evaluation has not yet been run; the full-set figures may differ slightly.
1from transformers import pipeline
2
3asr = pipeline("automatic-speech-recognition", model="Blgn94/whisper-small-mn-v24")
4result = asr("audio.mp3", generate_kwargs={"language": "mongolian", "task": "transcribe"})
5print(result["text"])1import torch, librosa
2from transformers import WhisperProcessor, WhisperForConditionalGeneration
3
4processor = WhisperProcessor.from_pretrained("Blgn94/whisper-small-mn-v24", language="mongolian", task="transcribe")
5model = WhisperForConditionalGeneration.from_pretrained("Blgn94/whisper-small-mn-v24")
6
7audio, _ = librosa.load("audio.mp3", sr=16000)
8inputs = processor(audio, sampling_rate=16000, return_tensors="pt")
9ids = model.generate(inputs.input_features, language="mongolian", task="transcribe")
10print(processor.batch_decode(ids, skip_special_tokens=True)[0])Blgn94/mongolian-stt-dataset-v24
— a combined Mongolian read-speech and subtitle corpus (~77 h of audio, 16 kHz).| Source | Train clips | Validation clips |
|---|---|---|
| Common Voice | 87,988 | 1,869 |
| FLEURS | 3,770 | 215 |
| MBSpeech | 3,670 | 176 |
| YouTube (manual subtitles) | 559 | 39 |
| Total | 95,987 | 2,299 |
openai/whisper-small (244M params).| Hyperparameter | Value |
|---|---|
| Epochs | 3 |
| Effective batch size | 8 (per-device 2 × grad-accum 4) |
| Learning rate | 1e-5 |
| Warmup steps | 500 |
| Precision | fp16 |
| Total steps | 35,982 |
| Optimizer | AdamW (Transformers default) |
| Gradient checkpointing | enabled |
language="mongolian", task="transcribe"); forced_decoder_ids was cleared
so decoding follows the fine-tuned distribution.openai/whisper-small; released under Apache-2.0.