Downloads · 30 days
37
12% of all-time downloads
Blgn94/whisper-small-mn
whisper-small-mn is a automatic speech recognition model from Blgn94. Use it when you need speech turned into text. The card lists the license as cc-by-4.0.
Fine-tune of openai/whisper-small for Mongolian (mn) automatic speech recognition.
Downloads · 30 days
37
12% of all-time downloads
All-time downloads
300
Public
Parameters
242M
1.7 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors967 MB · 70%
From the Hugging Face model README
Fine-tune of openai/whisper-small
for Mongolian (mn) automatic speech recognition.
Evaluated on a held-out subset of the validation split:
| Metric | Value |
|---|---|
| WER | 22.1% |
| CER | 10.3% |
Trained on Blgn94/mongolian-stt-dataset
(~60 h, 57,320 clips), a combination of:
All audio is 16 kHz mono.
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="Blgn94/whisper-small-mn")
text = pipe("audio.wav")["text"]
print(text)
Or with the model/processor directly:
import torch, librosa
from transformers import WhisperProcessor, WhisperForConditionalGeneration
processor = WhisperProcessor.from_pretrained("Blgn94/whisper-small-mn")
model = WhisperForConditionalGeneration.from_pretrained("Blgn94/whisper-small-mn")
audio, _ = librosa.load("audio.wav", sr=16000)
inputs = processor(audio, sampling_rate=16000, return_tensors="pt")
ids = model.generate(inputs.input_features, language="mn", task="transcribe")
print(processor.batch_decode(ids, skip_special_tokens=True)[0])
CC-BY-4.0, reflecting the most restrictive license among the combined training sources.