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 files- README.md +15 -15
- generation_config.json +1 -1
README.md
CHANGED
|
@@ -3,40 +3,40 @@ library_name: transformers
|
|
| 3 |
language:
|
| 4 |
- ur
|
| 5 |
license: apache-2.0
|
| 6 |
-
base_model:
|
| 7 |
tags:
|
| 8 |
- generated_from_trainer
|
| 9 |
datasets:
|
| 10 |
-
-
|
| 11 |
metrics:
|
| 12 |
- wer
|
| 13 |
model-index:
|
| 14 |
-
- name: Whisper
|
| 15 |
results:
|
| 16 |
- task:
|
| 17 |
name: Automatic Speech Recognition
|
| 18 |
type: automatic-speech-recognition
|
| 19 |
dataset:
|
| 20 |
name: Common Voice 19.0
|
| 21 |
-
type:
|
| 22 |
config: ur
|
| 23 |
split: test
|
| 24 |
args: 'config: ur, split: test'
|
| 25 |
metrics:
|
| 26 |
- name: Wer
|
| 27 |
type: wer
|
| 28 |
-
value:
|
| 29 |
---
|
| 30 |
|
| 31 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 32 |
should probably proofread and complete it, then remove this comment. -->
|
| 33 |
|
| 34 |
-
# Whisper
|
| 35 |
|
| 36 |
-
This model is a fine-tuned version of [
|
| 37 |
It achieves the following results on the evaluation set:
|
| 38 |
-
- Loss: 0.
|
| 39 |
-
- Wer:
|
| 40 |
|
| 41 |
## Model description
|
| 42 |
|
|
@@ -55,27 +55,27 @@ More information needed
|
|
| 55 |
### Training hyperparameters
|
| 56 |
|
| 57 |
The following hyperparameters were used during training:
|
| 58 |
-
- learning_rate: 1e-
|
| 59 |
- train_batch_size: 16
|
| 60 |
- eval_batch_size: 8
|
| 61 |
- seed: 42
|
| 62 |
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 63 |
- lr_scheduler_type: linear
|
| 64 |
-
- lr_scheduler_warmup_steps:
|
| 65 |
-
- training_steps:
|
| 66 |
- mixed_precision_training: Native AMP
|
| 67 |
|
| 68 |
### Training results
|
| 69 |
|
| 70 |
| Training Loss | Epoch | Step | Validation Loss | Wer |
|
| 71 |
|:-------------:|:------:|:----:|:---------------:|:-------:|
|
| 72 |
-
| 0.
|
| 73 |
-
| 0.
|
| 74 |
|
| 75 |
|
| 76 |
### Framework versions
|
| 77 |
|
| 78 |
-
- Transformers 4.48.
|
| 79 |
- Pytorch 2.5.1+cu121
|
| 80 |
- Datasets 3.2.0
|
| 81 |
- Tokenizers 0.21.0
|
|
|
|
| 3 |
language:
|
| 4 |
- ur
|
| 5 |
license: apache-2.0
|
| 6 |
+
base_model: openai/whisper-medium
|
| 7 |
tags:
|
| 8 |
- generated_from_trainer
|
| 9 |
datasets:
|
| 10 |
+
- vfsicoli/common_voice_19_0
|
| 11 |
metrics:
|
| 12 |
- wer
|
| 13 |
model-index:
|
| 14 |
+
- name: Whisper Medium Ur - Muhammad Abdullah on Common Voice 19
|
| 15 |
results:
|
| 16 |
- task:
|
| 17 |
name: Automatic Speech Recognition
|
| 18 |
type: automatic-speech-recognition
|
| 19 |
dataset:
|
| 20 |
name: Common Voice 19.0
|
| 21 |
+
type: vfsicoli/common_voice_19_0
|
| 22 |
config: ur
|
| 23 |
split: test
|
| 24 |
args: 'config: ur, split: test'
|
| 25 |
metrics:
|
| 26 |
- name: Wer
|
| 27 |
type: wer
|
| 28 |
+
value: 30.017639047044902
|
| 29 |
---
|
| 30 |
|
| 31 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 32 |
should probably proofread and complete it, then remove this comment. -->
|
| 33 |
|
| 34 |
+
# Whisper Medium Ur - Muhammad Abdullah on Common Voice 19
|
| 35 |
|
| 36 |
+
This model is a fine-tuned version of [openai/whisper-medium](https://huggingface.co/openai/whisper-medium) on the Common Voice 19.0 dataset.
|
| 37 |
It achieves the following results on the evaluation set:
|
| 38 |
+
- Loss: 0.4195
|
| 39 |
+
- Wer: 30.0176
|
| 40 |
|
| 41 |
## Model description
|
| 42 |
|
|
|
|
| 55 |
### Training hyperparameters
|
| 56 |
|
| 57 |
The following hyperparameters were used during training:
|
| 58 |
+
- learning_rate: 1e-06
|
| 59 |
- train_batch_size: 16
|
| 60 |
- eval_batch_size: 8
|
| 61 |
- seed: 42
|
| 62 |
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 63 |
- lr_scheduler_type: linear
|
| 64 |
+
- lr_scheduler_warmup_steps: 80
|
| 65 |
+
- training_steps: 600
|
| 66 |
- mixed_precision_training: Native AMP
|
| 67 |
|
| 68 |
### Training results
|
| 69 |
|
| 70 |
| Training Loss | Epoch | Step | Validation Loss | Wer |
|
| 71 |
|:-------------:|:------:|:----:|:---------------:|:-------:|
|
| 72 |
+
| 0.3018 | 0.6682 | 300 | 0.4236 | 30.1561 |
|
| 73 |
+
| 0.2544 | 1.3363 | 600 | 0.4195 | 30.0176 |
|
| 74 |
|
| 75 |
|
| 76 |
### Framework versions
|
| 77 |
|
| 78 |
+
- Transformers 4.48.1
|
| 79 |
- Pytorch 2.5.1+cu121
|
| 80 |
- Datasets 3.2.0
|
| 81 |
- Tokenizers 0.21.0
|
generation_config.json
CHANGED
|
@@ -246,5 +246,5 @@
|
|
| 246 |
"transcribe": 50359,
|
| 247 |
"translate": 50358
|
| 248 |
},
|
| 249 |
-
"transformers_version": "4.48.
|
| 250 |
}
|
|
|
|
| 246 |
"transcribe": 50359,
|
| 247 |
"translate": 50358
|
| 248 |
},
|
| 249 |
+
"transformers_version": "4.48.1"
|
| 250 |
}
|