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
Download tokenizer_config.json from openai/whisper-tiny.en: direct link, hf CLI and curl.
- Browser
- Download file 805 Bytes
-
https://huggingface.co/openai/whisper-tiny.en/resolve/refs%2Fpr%2F21/tokenizer_config.json
- Command line
-
hf download hf://openai/whisper-tiny.en@refs/pr/21/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/openai/whisper-tiny.en/resolve/refs%2Fpr%2F21/tokenizer_config.json
805 Bytes
| { | |
| "add_bos_token": false, | |
| "add_prefix_space": false, | |
| "bos_token": { | |
| "__type": "AddedToken", | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "clean_up_tokenization_spaces": true, | |
| "eos_token": { | |
| "__type": "AddedToken", | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "errors": "replace", | |
| "model_max_length": 1024, | |
| "pad_token": null, | |
| "processor_class": "WhisperProcessor", | |
| "return_attention_mask": false, | |
| "tokenizer_class": "WhisperTokenizer", | |
| "unk_token": { | |
| "__type": "AddedToken", | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |