Automatic Speech Recognition
Transformers
TensorBoard
Safetensors
Urdu
whisper
Generated from Trainer
Eval Results (legacy)
Instructions to use abdullah090809/whisper-medium-ur with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use abdullah090809/whisper-medium-ur with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="abdullah090809/whisper-medium-ur")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("abdullah090809/whisper-medium-ur") model = AutoModelForSpeechSeq2Seq.from_pretrained("abdullah090809/whisper-medium-ur", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Muhammad Abdullah commited on
End of training
Browse filesFiles changed (2)
- README.md+52-45
- generation_config.json+1-1
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778---library_name: transformerslicense: apache-2.0base_model: GogetaBlueMUI/whisper-medium-ur-jalandharytags:- automatic-speech-recognition- ASR- Urdu- Whisper- speech-to-text- generated_from_trainerdatasets:- common_voice_11_0metrics:- werinference: truewidget:- example_title: "Test Urdu Audio"src: "https://huggingface.co/datasets/Narsil/asr_dummy/resolve/main/test.flac"model-index:- name: whisper-medium-urresults:- task:name: Automatic Speech Recognitiontype: automatic-speech-recognitiondataset:name: common_voice_11_0type: common_voice_11_0config: ursplit: testargs: urmetrics:- name: Wertype: wervalue: 0.2744---# 🗣️ Whisper-Medium-Ur: Urdu Speech Recognition ModelThis model is a fine-tuned version of **[GogetaBlueMUI/whisper-medium-ur-jalandhary](https://huggingface.co/GogetaBlueMUI/whisper-medium-ur-jalandhary)** on the **Common Voice 11.0 Urdu dataset**. It is designed for **automatic speech recognition (ASR)** in Urdu and achieves the following results on the evaluation set:- **Loss:** 0.5375- **WER (Word Error Rate):** 27.44%- **CER (Character Error Rate):** 12.37%---## **📌 Model Description**- The model is based on **OpenAI's Whisper-Medium**.- It is fine-tuned specifically for **Urdu speech transcription**.- Works best on **clear audio recordings** with minimal background noise.---## **🛠️ Intended Uses & Limitations**### ✅ **Intended Uses**- **Transcribing Urdu speech** into text.- **Generating subtitles** for Urdu videos.- **Building Urdu speech-to-text applications**.### ❌ **Limitations**- May struggle with **noisy environments**.- May not perform well on **regional Urdu dialects**.- Limited **code-mixing** support (Urdu + English).---## **💻 Usage**You can use this model with the **Hugging Face Transformers pipeline**:```pythonfrom transformers import pipelinepipe = pipeline("automatic-speech-recognition", model="GogetaBlueMUI/whisper-medium-ur")# Run inference on an audio fileresult = pipe("path/to/your_audio_file.wav")print(result["text"])12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485---library_name: transformerslanguage:- urlicense: apache-2.0base_model: openai/whisper-mediumtags:- generated_from_trainerdatasets:- fsicoli/common_voice_19_0metrics:- wermodel-index:- name: Whisper Medium Ur - Your Nameresults:- task:name: Automatic Speech Recognitiontype: automatic-speech-recognitiondataset:name: Common Voice 19.0type: fsicoli/common_voice_19_0config: ursplit: testargs: 'config: ur, split: test'metrics:- name: Wertype: wervalue: 27.349454082657914---<!-- This model card has been generated automatically according to the information the Trainer had access to. Youshould probably proofread and complete it, then remove this comment. --># Whisper Medium Ur - Your NameThis model is a fine-tuned version of [openai/whisper-medium](https://huggingface.co/openai/whisper-medium) on the Common Voice 19.0 dataset.It achieves the following results on the evaluation set:- Loss: 0.3613- Wer: 27.3495## Model descriptionMore information needed## Intended uses & limitationsMore information needed## Training and evaluation dataMore information needed## Training procedure### Training hyperparametersThe following hyperparameters were used during training:- learning_rate: 5e-06- train_batch_size: 8- eval_batch_size: 8- seed: 42- gradient_accumulation_steps: 2- total_train_batch_size: 16- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments- lr_scheduler_type: linear- lr_scheduler_warmup_steps: 40- training_steps: 800- mixed_precision_training: Native AMP### Training results| Training Loss | Epoch | Step | Validation Loss | Wer ||:-------------:|:------:|:----:|:---------------:|:-------:|| 0.5093 | 0.2623 | 200 | 0.4290 | 29.3009 || 0.4283 | 0.5246 | 400 | 0.3918 | 29.4996 || 0.4435 | 0.7869 | 600 | 0.3705 | 27.1239 || 0.2939 | 1.0485 | 800 | 0.3613 | 27.3495 |### Framework versions- Transformers 4.49.0- Pytorch 2.5.1+cu121- Datasets 3.4.0- Tokenizers 0.21.0
245 unmodified lines246247248249250245 unmodified lines"transcribe": 50359,"translate": 50358},"transformers_version": "4.47.0"}245 unmodified lines246247248249250245 unmodified lines"transcribe": 50359,"translate": 50358},"transformers_version": "4.49.0"}
README.md+52-45
generation_config.json+1-1