Instructions to use mmtg/train-test-valid with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mmtg/train-test-valid with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="mmtg/train-test-valid")# Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("mmtg/train-test-valid") model = AutoModelForSpeechSeq2Seq.from_pretrained("mmtg/train-test-valid", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| license: apache-2.0 | |
| tags: | |
| - generated_from_trainer | |
| base_model: openai/whisper-base | |
| metrics: | |
| - wer | |
| model-index: | |
| - name: train-test-valid | |
| results: [] | |
| <!-- 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. --> | |
| # train-test-valid | |
| This model is a fine-tuned version of [openai/whisper-base](https://huggingface.co/openai/whisper-base) on an unknown dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 1.2197 | |
| - Wer: 73.5930 | |
| ## 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: 3e-05 | |
| - train_batch_size: 12 | |
| - eval_batch_size: 4 | |
| - seed: 42 | |
| - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 | |
| - lr_scheduler_type: linear | |
| - lr_scheduler_warmup_steps: 500 | |
| - training_steps: 5000 | |
| - mixed_precision_training: Native AMP | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | Wer | | |
| |:-------------:|:--------:|:----:|:---------------:|:-------:| | |
| | 0.0002 | 23.8095 | 1000 | 1.1097 | 77.0127 | | |
| | 0.0001 | 47.6190 | 2000 | 1.1609 | 74.0991 | | |
| | 0.0001 | 71.4286 | 3000 | 1.1919 | 73.0716 | | |
| | 0.0 | 95.2381 | 4000 | 1.2115 | 73.3783 | | |
| | 0.0 | 119.0476 | 5000 | 1.2197 | 73.5930 | | |
| ### Framework versions | |
| - Transformers 4.41.2 | |
| - Pytorch 2.1.2+cu121 | |
| - Datasets 2.19.2 | |
| - Tokenizers 0.19.1 | |