Views
No views yet
openai/whisper-medium (via an Uzbek-adapted checkpoint).2010-yilda) while the model speaks them as words (ikki ming o'ninchi yilda),
so digits are converted to Uzbek words and apostrophes/punctuation/case are
unified for a fair WER.| Dataset | Clips (test) | WER |
|---|---|---|
| FeruzaSpeech | 899 | 7.88% |
| Common Voice 17.0 uz | 12,348 | 13.37% |
| FLEURS uz | 4,165 | 14.40% |
1from transformers import pipeline
2
3asr = pipeline("automatic-speech-recognition",
4 model="Abduqayum/whisper-uzbek-medium-callcenter", device=0)
5
6text = asr("audio.wav",
7 generate_kwargs={"language": "uz", "task": "transcribe"})["text"]
8print(text)ct2-transformers-converter, then:1from faster_whisper import WhisperModel
2m = WhisperModel("path/to/ct2-model", device="cuda", compute_type="float16")
3segments, _ = m.transcribe(
4 "audio.wav", language="uz",
5 vad_filter=True, condition_on_previous_text=False,
6 no_speech_threshold=0.6, temperature=0,
7)
8print(" ".join(s.text for s in segments).strip())