Skip to content
ModelVerifiedExternal
Download

Uz Whisper Small Stt

This repository contains a Whisper Small speech-to-text model prepared for Hugging Face upload. The model is based on openai/whisper-small and is configured to transcribe Uzbek by default.

KindText modelBase modelopenai/whisper-smallVersionmodelPublisher@maqsudxo1jaCgrade

Model source

Kind
Text model
File size
922 MB
Base model
openai/whisper-small
Version
vmodel
Updated
Oct 3, 2026
Publisher
@maqsudxo1ja
Downloads
5
Source
Hugging Face

Source description

Uzbek Whisper Small STT

This repository contains a Whisper Small speech-to-text model prepared for Hugging Face upload. The model is based on openai/whisper-small and is configured to transcribe Uzbek by default.

The model files are ready to use with the transformers automatic speech recognition pipeline.

Model Details

  • Model type: Whisper Small / Automatic Speech Recognition
  • Default task: transcription
  • Default language: Uzbek (uz)
  • Supported languages in tokenizer/config: Uzbek, English, Russian, and other Whisper multilingual tokens
  • Base model: openai/whisper-small
  • Format: safetensors
  • License: Apache-2.0

Usage

Replace YOUR_USERNAME/uz-whisper-small-stt with your Hugging Face repository name after upload.

from transformers import pipeline

asr = pipeline(
    "automatic-speech-recognition",
    model="YOUR_USERNAME/uz-whisper-small-stt",
)

result = asr("audio.wav")
print(result["text"])

For direct generation:

import torch
import torchaudio
from transformers import WhisperForConditionalGeneration, WhisperProcessor

model_id = "YOUR_USERNAME/uz-whisper-small-stt"

processor = WhisperProcessor.from_pretrained(model_id)
model = WhisperForConditionalGeneration.from_pretrained(model_id)

audio, sr = torchaudio.load("audio.wav")
if audio.shape[0] > 1:
    audio = audio.mean(dim=0, keepdim=True)

inputs = processor(
    audio.squeeze().numpy(),
    sampling_rate=sr,
    return_tensors="pt",
)

with torch.no_grad():
    predicted_ids = model.generate(inputs.input_features)

text = processor.batch_decode(predicted_ids, skip_special_tokens=True)[0]
print(text)

Evaluation

No verified benchmark results are included in this prepared upload package. Add WER/CER numbers here only after testing on your own evaluation set.

Upload

Install the Hugging Face CLI and login:

pip install -U "huggingface_hub[cli]"
huggingface-cli login

Create a repository on Hugging Face, then upload this folder:

huggingface-cli upload YOUR_USERNAME/uz-whisper-small-stt . --repo-type model

Run the upload command from inside this folder:

cd hf_ready_model

Sources

1 source
Hugging FacePrimaryVersion 792e2d51f9d06e5184abb110788d23ea98ffec66
huggingface.co/maqsudxo1ja/uz-whisper-small-stt/tree/792e2d51f9d06e5184abb110788d23ea98ffec66

Verified Oct 3

Model artifacts

1 artifact

model.safetensors

safetensors · 922 MB · SHA-256 5e09369c8f60…c382 · Hugging Face

Download

Source excerpts

3 excerpts

--- license: apache-2.0 language: - uz - en - ru base_model: - openai/whisper-small pipeline_tag: automatic-speech-recognition tags: - automatic-speech-recognition - whisper - speech-to-text - uzbek - multilingual - transformers - safetensors library_name: transformers --- # Uzbek Whisper Small STT This repository contains a Whisper Small speech-to-text model prepared for Hugging Face upload. The model is based on `openai/whisper-small` and is configured to transcribe Uzbek by default. The model files are ready to use with the `transformers` automatic speech recognition pipeline. ## Model Details - Model type: Whisper Small / Automatic Speech Recognition - Default task: transcription - Default language: Uzbek (`uz`) - Supported languages in tokenizer/config: Uzbek, English, Russian, and other Whisper multilingual tokens - Base model: `openai/whisper-small` - Format: `safetensors` - License: Apache-2.0 ## Usage Replace `YOUR_USERNAME/uz-whisper-small-stt` with your Hugging Face repository name after upload. ```python from transformers import pipeline asr = pipeline( "automatic-speech-recognition", model="YOUR_USERNAME/uz-whisper-small-stt", ) result = asr("audio.wav") print(result["text"]) ``` For direct generation: ```python import torch import torchaudio from transformers import WhisperForConditionalGeneration, WhisperProcessor model_id = "YOUR_USERNAME/uz-whisper-small-stt" processor = WhisperProcessor.from_pretrained(model_id) model = WhisperForConditionalGeneration.from_pretrained(model_id) audio, sr = torchaudio.load("audio.wav") if audio.shape[0] > 1: audio = audio.mean(dim=0, keepdim=True) inputs = processor( audio.squeeze().numpy(), sampling_rate=sr, return_tensors="pt", ) with torch.no_grad(): predicted_ids = model.generate(inputs.input_features) text = processor.batch_decode(predicted_ids, skip_special_tokens=True)[0] print(text) ``` ## Evaluation No verified benchmark results are included in this prepared upload package. Add WER/CER numbers here only after testing on your own evaluation set. ## Upload Install the Hugging Face CLI and login: ```bash pip install -U "huggingface_hub[cli]" huggingface-cli login ``` Create a repository on Hugging Face, then upload this folder: ```bash huggingface-cli upload YOUR_USERNAME/uz-whisper-small-stt . --repo-type model ``` Run the upload command from inside this folder: ``...

Source context: 5 downloads · 2 likes · Pipeline automatic-speech-recognition · Library transformers · Repo maqsudxo1ja/uz-whisper-small-stt

Source context: 47 downloads · 2 likes · Pipeline automatic-speech-recognition · Library transformers · Repo maqsudxo1ja/uz-whisper-small-stt