Instructions to use RawandLaouini/whisper-ar with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RawandLaouini/whisper-ar with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="RawandLaouini/whisper-ar")# Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("RawandLaouini/whisper-ar") model = AutoModelForSpeechSeq2Seq.from_pretrained("RawandLaouini/whisper-ar") - Notebooks
- Google Colab
- Kaggle
whisper-ar
This model is a fine-tuned version of openai/whisper-medium on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.461184
- wer:1.0599
- cer:0.8662
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-05
- train_batch_size: 4
- eval_batch_size: 8
- seed: 42
- gradient_accumulation_steps: 4
- total_train_batch_size: 16
- optimizer: Use OptimizerNames.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: 50
- training_steps: 150
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Wer | Cer |
|---|---|---|---|---|---|
| 1.0184 | 0.0451 | 30 | 0.7442 | 3.9953 | 3.8450 |
| 0.5061 | 0.0901 | 60 | 0.4612 | 1.0599 | 0.8662 |
| 0.3482 | 0.1352 | 90 | 0.4291 | 2.4507 | 3.2926 |
| 0.3814 | 0.1802 | 120 | 0.3722 | 2.2438 | 3.2085 |
| 0.3232 | 0.2253 | 150 | 0.3042 | 3.8776 | 4.9707 |
Framework versions
- Transformers 4.51.3
- Pytorch 2.4.1+cu121
- Datasets 3.5.0
- Tokenizers 0.21.1
- Downloads last month
- 2
Model tree for RawandLaouini/whisper-ar
Base model
openai/whisper-medium