Downloads · 30 days
11
8% of all-time downloads
Quyashbek/whisper-base-karakalpak
whisper-base-karakalpak is a automatic speech recognition model from Quyashbek. Use it when you need speech turned into text. The card lists the license as apache-2.0.
This model is a fine-tuned version of openai/whisper-base for Automatic Speech Recognition (ASR) in the Karakalpak language.
Downloads · 30 days
11
8% of all-time downloads
All-time downloads
131
Public
Parameters
72.6M
2.6 GB on disk
Likes
0
Public
Click a slice to open those files.
.pt1.7 GB · 60%
From the Hugging Face model README
This model is a fine-tuned version of openai/whisper-base for Automatic Speech Recognition (ASR) in the Karakalpak language.
Quyashbek Allanazarov
Evaluation was performed on a held-out test set.
| Metric | Score |
|---|---|
| WER (Word Error Rate) | 38.59% |
| CER (Character Error Rate) | 9.85% |
import torch
from transformers import WhisperForConditionalGeneration, WhisperProcessor
model_id = "Quyashbek/whisper-base-karakalpak"
processor = WhisperProcessor.from_pretrained(model_id)
model = WhisperForConditionalGeneration.from_pretrained(model_id)
# speech, sr = librosa.load("audio.wav", sr=16000)
# inputs = processor(speech, sampling_rate=16000, return_tensors="pt")
# generated_ids = model.generate(inputs.input_features)
# transcription = processor.batch_decode(generated_ids, skip_special_tokens=True)[0]