mozilla-foundation/common_voice_17_0
Updated • 4.79k • 29
whisper_small_uz_ru is a fine-tuned version of the automatic speech recognition (ASR) model openai/whisper-small. This model has been specifically optimized to handle code-switching, multilingual environments, and balanced acoustic processing for both the Uzbek (uz) and Russian (ru) languages.
By leveraging targeted audio filtering, text normalization rules, and balanced data sampling, this model bridges the performance gap often found in lower-resource language variants while preserving strong transcription stability in Russian.
You can easily run inference using this model via the Hugging Face transformers pipeline API.
import torch
from transformers import pipeline
# Initialize the speech recognition pipeline
pipe = pipeline(
task="automatic-speech-recognition",
model="firdavsus/whisper_small_uz_ru",
chunk_length_s=30,
device="cuda" if torch.cuda.is_available() else "cpu"
)
# Transcribe an audio file (Uzbek or Russian)
audio_file_path = "path_to_your_audio.mp3"
result = pipe(audio_file_path, generate_kwargs={"task": "transcribe"})
print("Transcription:")
print(result["text"])
Base model
openai/whisper-small