Downloads · 30 days
11
10% of all-time downloads
Khurram123/whisper-medium-urdu-fleurs
whisper-medium-urdu-fleurs is a automatic speech recognition model from Khurram123. Use it when you need speech turned into text. It is set up for peft. The card lists the license as apache-2.0.
This model is a high-performance Automatic Speech Recognition (ASR) system for Urdu (Pakistan). It utilizes LoRA (Low-Rank Adaptation) to fine-tune the openai/whisper-medium backbone, achieving significant accuracy im…
Downloads · 30 days
11
10% of all-time downloads
All-time downloads
108
Public
Repo size
37.8 MB
Likes
0
Public
Click a slice to open those files.
.safetensors37.8 MB · 87%
From the Hugging Face model README
This model is a high-performance Automatic Speech Recognition (ASR) system for Urdu (Pakistan). It utilizes LoRA (Low-Rank Adaptation) to fine-tune the openai/whisper-medium backbone, achieving significant accuracy improvements on regional accents and vocabulary while remaining computationally efficient.
float16Developed in a specialized Ubuntu environment designed for Urdu NLP tasks.
| Parameter | Value |
|---|---|
| Hardware | NVIDIA GeForce RTX 4060 Ti 16 GB |
| Dataset | Google FLEURS (ur_pk) |
| Epochs | 15 |
| Final Train Loss | 0.33 |
| Final Eval Loss | 0.40 |
from transformers import pipeline
import torch
pipe = pipeline(
"automatic-speech-recognition",
model="Khurram123/whisper-medium-urdu-fleurs",
device=0,
torch_dtype=torch.float16
)
# Example: Transcribing Urdu audio
output = pipe("path_to_audio.wav", generate_kwargs={"language": "urdu"})
print(output["text"])