Automatic Speech Recognition
Transformers
PyTorch
TensorFlow
JAX
Safetensors
whisper
audio
hf-asr-leaderboard
Eval Results (legacy)
Run this model with HF Jobs
Run openai/whisper-small 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-small. 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-small 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-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use openai/whisper-small with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="openai/whisper-small")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("openai/whisper-small") model = AutoModelForSpeechSeq2Seq.from_pretrained("openai/whisper-small", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update `return_mask` param
Browse filesFiles changed (2)
16250 unmodified lines16251162521625316254162551625616250 unmodified lines"padding_side": "right","padding_value": 0.0,"processor_class": "WhisperProcessor","return_attention_mask": true,"sampling_rate": 16000}16250 unmodified lines16251162521625316254162551625616250 unmodified lines"padding_side": "right","padding_value": 0.0,"processor_class": "WhisperProcessor","return_attention_mask": false,"sampling_rate": 16000}
18 unmodified lines19202122232425262718 unmodified lines},"errors": "replace","model_max_length": 1024,"name_or_path": "openai/whisper-large","pad_token": null,"processor_class": "WhisperProcessor","special_tokens_map_file": null,"tokenizer_class": "WhisperTokenizer","unk_token": {18 unmodified lines1920212223242526272818 unmodified lines},"errors": "replace","model_max_length": 1024,"name_or_path": "openai/whisper-small","pad_token": null,"processor_class": "WhisperProcessor","return_attention_mask": false,"special_tokens_map_file": null,"tokenizer_class": "WhisperTokenizer","unk_token": {
preprocessor_config.json+1-1
tokenizer_config.json+2-1