Instructions to use Adnan666/whisper-small-pashto with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Adnan666/whisper-small-pashto with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="Adnan666/whisper-small-pashto")# Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("Adnan666/whisper-small-pashto") model = AutoModelForSpeechSeq2Seq.from_pretrained("Adnan666/whisper-small-pashto", device_map="auto") - Notebooks
- Google Colab
- Kaggle
whisper-small-pashto
This model is a fine-tuned version of ihanif/whisper_small_ps_augmented on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.3225
- Wer: 32.2502
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The 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: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 600
- training_steps: 21854
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Wer |
|---|---|---|---|---|
| 0.6378 | 0.0137 | 100 | 0.2799 | 27.1148 |
| 0.577 | 0.0275 | 200 | 0.2849 | 28.6088 |
| 0.5049 | 0.0412 | 300 | 0.2972 | 29.5238 |
| 0.4968 | 0.0549 | 400 | 0.3100 | 30.4388 |
| 0.468 | 0.0686 | 500 | 0.3111 | 30.4762 |
| 0.4361 | 0.0824 | 600 | 0.3225 | 32.2502 |
Framework versions
- Transformers 4.44.2
- Pytorch 2.4.0+cu121
- Datasets 2.19.0
- Tokenizers 0.19.1
- Downloads last month
- 1,202
Model tree for Adnan666/whisper-small-pashto
Base model
ihanif/whisper_small_ps_augmented