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-tiny.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-tiny.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-tiny.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-tiny.en with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use openai/whisper-tiny.en with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="openai/whisper-tiny.en")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("openai/whisper-tiny.en") model = AutoModelForSpeechSeq2Seq.from_pretrained("openai/whisper-tiny.en", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Allow single quotes "'" and hyphens "-"
Remove single quotes `'` (id 6) and hyphens `-` (id 12) from `suppress_tokens`. These tokens should **not** be suppressed during generation. They are accepted as valid generated tokens in the official Whisper repo: https://github.com/openai/whisper/blob/eff383b27b783e280c089475852ba83f20f64998/whisper/tokenizer.py#L258 Check that we're removing the right tokens: ```python from transformers import WhisperTokenizer tokenizer = WhisperTokenizer.from_pretrained("openai/whisper-tiny.en") print(tokenizer.decode(6)) print(tokenizer.decode(12)) ``` **Print Output:** ``` ' - ```54f836c
-
Update `max_length` param
407a3a8 -
Update `return_mask` param
ea8f5d0
-
Update README.md
2ac54a8 -
Create README.md
9e20f92 -
Add TF weights (#1)
- Add TF weights (7bed60b379d9f0c588b77137f2af66d0f7b09ed8)1f9fe7b
-
Upload config
215213d -
Upload tokenizer
c703e33 -
Upload config
f11df2a -
Upload tokenizer
2b05ff7 -
Upload tokenizer
3b1e4bb -
Update config.json
9503433 -
Upload tokenizer
18d92b3 -
Upload tokenizer
c6a40e3
-
Upload processor
7a93d85 -
Upload config
7dabb1d -
Upload processor
8710e8b -
Upload config
47d9e19 -
Upload processor
33560bf -
Create new file
b961dda -
Upload processor
10c9736 -
Upload config
d13d0e4
-
Upload tokenizer
80bf224 -
Upload WhisperForConditionalGeneration
c83d640 -
Upload processor
f74ab99 -
Upload config
2ff8162
-
Upload processor
40083c0 -
Upload model
09fa5b9 -
initial commit
36ced72