Automatic Speech Recognition
PEFT
Safetensors
Urdu
audio
whisper
urdu
lora
fleurs
Eval Results (legacy)
Instructions to use Khurram123/whisper-medium-urdu-fleurs with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Khurram123/whisper-medium-urdu-fleurs with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
🎙️ Whisper Medium Urdu: LoRA Fine-Tuned
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.
⚙️ Technical Specifications
- Base Architecture: Transformer Encoder-Decoder (Whisper)
- Adaptation Method: PEFT/LoRA ($r=32$, $\alpha=64$)
- Precision:
float16 - Inference Speed: ~7.7 samples/sec on RTX 4060 Ti
📊 Training Environment & Results
Developed 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 |
🚀 Deployment
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"])
- Downloads last month
- 6
Model tree for Khurram123/whisper-medium-urdu-fleurs
Base model
openai/whisper-mediumEvaluation results
- Validation Loss on google/fleursself-reported0.400
- Training Loss on google/fleursself-reported0.330