Automatic Speech Recognition
Transformers
TensorBoard
Safetensors
Afrikaans
whisper
Generated from Trainer
Eval Results (legacy)
Instructions to use M2LabOrg/whisper-small-af with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use M2LabOrg/whisper-small-af with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="M2LabOrg/whisper-small-af")# Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("M2LabOrg/whisper-small-af") model = AutoModelForSpeechSeq2Seq.from_pretrained("M2LabOrg/whisper-small-af", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| language: | |
| - af | |
| license: apache-2.0 | |
| base_model: openai/whisper-small | |
| tags: | |
| - generated_from_trainer | |
| datasets: | |
| - mozilla-foundation/common_voice_11_0 | |
| metrics: | |
| - wer | |
| model-index: | |
| - name: Whisper small af - Michel Mesquita | |
| results: | |
| - task: | |
| name: Automatic Speech Recognition | |
| type: automatic-speech-recognition | |
| dataset: | |
| name: Common Voice 11.0 | |
| type: mozilla-foundation/common_voice_11_0 | |
| config: af | |
| split: None | |
| args: 'config: af, split: test' | |
| metrics: | |
| - name: Wer | |
| type: wer | |
| value: 1.740506329113924 | |
| <!-- This model card has been generated automatically according to the information the Trainer had access to. You | |
| should probably proofread and complete it, then remove this comment. --> | |
| # Whisper small af - Michel Mesquita | |
| This model is a fine-tuned version of [openai/whisper-small](https://huggingface.co/openai/whisper-small) on the Common Voice 11.0 dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 0.0000 | |
| - Wer: 1.7405 | |
| ## 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: 1e-05 | |
| - train_batch_size: 16 | |
| - eval_batch_size: 8 | |
| - seed: 42 | |
| - gradient_accumulation_steps: 4 | |
| - total_train_batch_size: 64 | |
| - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 | |
| - lr_scheduler_type: linear | |
| - lr_scheduler_warmup_steps: 500 | |
| - training_steps: 4000 | |
| - mixed_precision_training: Native AMP | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | Wer | | |
| |:-------------:|:--------:|:----:|:---------------:|:------:| | |
| | 0.0001 | 190.4762 | 1000 | 0.0002 | 1.8987 | | |
| | 0.0001 | 380.9524 | 2000 | 0.0001 | 1.8987 | | |
| | 0.0 | 571.4286 | 3000 | 0.0001 | 1.7405 | | |
| | 0.0 | 761.9048 | 4000 | 0.0000 | 1.7405 | | |
| ### Framework versions | |
| - Transformers 4.41.2 | |
| - Pytorch 2.3.0+cu121 | |
| - Datasets 2.20.0 | |
| - Tokenizers 0.19.1 | |