Automatic Speech Recognition
Transformers
TensorBoard
Safetensors
English
whisper
Generated from Trainer
Eval Results (legacy)
Instructions to use Dev372/HarshDev-whisper-base-English_2000 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Dev372/HarshDev-whisper-base-English_2000 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="Dev372/HarshDev-whisper-base-English_2000")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("Dev372/HarshDev-whisper-base-English_2000") model = AutoModelForSpeechSeq2Seq.from_pretrained("Dev372/HarshDev-whisper-base-English_2000", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse filesFiles changed (2)
- README.mdAdded+78
- generation_config.jsonAdded+137
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778---language:- enlicense: apache-2.0base_model: openai/whisper-small.entags:- generated_from_trainerdatasets:- Hani89/medical_asr_recording_datasetmetrics:- wermodel-index:- name: English Whisper Model results: - task: name: Automatic Speech Recognition type: automatic-speech-recognition dataset: name: Medical type: Hani89/medical_asr_recording_dataset args: 'split: test' metrics: - name: Wer type: wer value: 8.502732240437158---
<!-- This model card has been generated automatically according to the information the Trainer had access to. Youshould probably proofread and complete it, then remove this comment. -->
# English Whisper Model
This model is a fine-tuned version of [openai/whisper-small.en](https://huggingface.co/openai/whisper-small.en) on the Medical dataset.It achieves the following results on the evaluation set:- Loss: 0.1242- Wer: 8.5027
## 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- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: linear- lr_scheduler_warmup_steps: 500- training_steps: 2000- mixed_precision_training: Native AMP
### Training results
| Training Loss | Epoch | Step | Validation Loss | Wer ||:-------------:|:------:|:----:|:---------------:|:------:|| 0.0566 | 3.0030 | 1000 | 0.1344 | 9.0419 || 0.009 | 6.0060 | 2000 | 0.1242 | 8.5027 |
### Framework versions
- Transformers 4.42.3- Pytorch 2.1.2- Datasets 2.20.0- Tokenizers 0.19.1123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137{ "alignment_heads": [ [ 3, 3 ], [ 4, 7 ], [ 5, 1 ], [ 5, 5 ], [ 5, 7 ] ], "begin_suppress_tokens": [ 220, 50256 ], "bos_token_id": 50257, "decoder_start_token_id": 50257, "eos_token_id": 50256, "forced_decoder_ids": [ [ 1, 50362 ] ], "is_multilingual": false, "max_initial_timestamp_index": 50, "max_length": 448, "no_timestamps_token_id": 50362, "pad_token_id": 50256, "prev_sot_token_id": 50360, "return_timestamps": false, "suppress_tokens": [ 1, 2, 7, 8, 9, 10, 14, 25, 26, 27, 28, 29, 31, 58, 59, 60, 61, 62, 63, 90, 91, 92, 93, 357, 366, 438, 532, 685, 705, 796, 930, 1058, 1220, 1267, 1279, 1303, 1343, 1377, 1391, 1635, 1782, 1875, 2162, 2361, 2488, 3467, 4008, 4211, 4600, 4808, 5299, 5855, 6329, 7203, 9609, 9959, 10563, 10786, 11420, 11709, 11907, 13163, 13697, 13700, 14808, 15306, 16410, 16791, 17992, 19203, 19510, 20724, 22305, 22935, 27007, 30109, 30420, 33409, 34949, 40283, 40493, 40549, 47282, 49146, 50257, 50357, 50358, 50359, 50360, 50361 ], "transformers_version": "4.42.3"}README.mdAdded+78
generation_config.jsonAdded+137