Automatic Speech Recognition
Transformers
PyTorch
TensorFlow
JAX
Safetensors
English
whisper
audio
hf-asr-leaderboard
Eval Results (legacy)
Eval Results
Run this model with HF Jobs
Run openai/whisper-medium.en on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/openai/whisper-medium.en. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/openai/whisper-medium.en on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use openai/whisper-medium.en with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use openai/whisper-medium.en with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="openai/whisper-medium.en")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("openai/whisper-medium.en") model = AutoModelForSpeechSeq2Seq.from_pretrained("openai/whisper-medium.en", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload config
Browse files12345678910117 unmodified lines192021222324252627282930313219 unmodified lines525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122{"_name_or_path": "openai/whisper-medium.en","activation_dropout": 0.0,"activation_function": "gelu","architectures": ["WhisperForConditionalGeneration"],"attention_dropout": 0.0,"bos_token_id": 50257,"d_model": 1024,"decoder_attention_heads": 16,7 unmodified lines"encoder_layerdrop": 0.0,"encoder_layers": 24,"eos_token_id": 50256,"feature_size": 1,"init_std": 0.02,"input_channels": 1,"is_encoder_decoder": true,"max_source_positions": 1500,"max_target_positions": 448,"model_type": "whisper","non_speech_tokens": [1,2,6,19 unmodified lines91,92,93,359,503,522,542,873,893,902,918,922,931,1350,1853,1982,2460,2627,3246,3253,3268,3536,3846,3961,4183,4667,6585,6647,7273,9061,9383,10428,10929,11938,12033,12331,12562,13793,14157,14635,15265,15618,16553,16604,18362,18956,20075,21675,22520,26130,26161,26435,28279,29464,31650,32302,32470,36865,42863,47425,49870,50254],"num_hidden_layers": 24,"num_mel_bins": 80,"pad_token_id": 0,"scale_embedding": false,"torch_dtype": "float32","transformers_version": "4.23.0.dev0","use_cache": true,"vocab_size": 5186412345678910117 unmodified lines1920212223242526272829303132333419 unmodified lines54555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124{"activation_dropout": 0.0,"activation_function": "gelu","attention_dropout": 0.0,"begin_suppress_tokens": [220,50256],"bos_token_id": 50257,"d_model": 1024,"decoder_attention_heads": 16,7 unmodified lines"encoder_layerdrop": 0.0,"encoder_layers": 24,"eos_token_id": 50256,"init_std": 0.02,"is_encoder_decoder": true,"max_source_positions": 1500,"max_target_positions": 448,"model_type": "whisper","num_hidden_layers": 24,"num_mel_bins": 80,"pad_token_id": 0,"scale_embedding": false,"suppress_tokens": [1,2,6,19 unmodified lines91,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,50359,50360],"transformers_version": "4.23.0.dev0","use_cache": true,"vocab_size": 51864
config.json+73-71