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
Commit ·
faaf572
1
Parent(s): 2855749
Changes for fast tokenizer (#11)
Browse files- Update tokens (b33367645f5904439db3926099068645c19d93dd)
- Add tokenizer.json (bbb0af831bf099d47d1744ab20fbb68bf4e37a30)
Co-authored-by: Jonatan Kłosko <jonatanklosko@users.noreply.huggingface.co>
Files changed (5)
16 unmodified lines1718192021222316 unmodified lines"<|da|>": 50285,"<|de|>": 50261,"<|el|>": 50281,"<|endoftext|>": 50257,"<|en|>": 50259,"<|es|>": 50262,"<|et|>": 50307,16 unmodified lines17181920212216 unmodified lines"<|da|>": 50285,"<|de|>": 50261,"<|el|>": 50281,"<|en|>": 50259,"<|es|>": 50262,"<|et|>": 50307,
123 unmodified lines124125126127128129130123 unmodified lines},"pad_token": "<|endoftext|>","unk_token": {"content": "","lstrip": false,"normalized": true,"rstrip": false,123 unmodified lines124125126127128129130123 unmodified lines},"pad_token": "<|endoftext|>","unk_token": {"content": "<|endoftext|>","lstrip": false,"normalized": true,"rstrip": false,
26 unmodified lines2728293031323326 unmodified lines"tokenizer_class": "WhisperTokenizer","unk_token": {"__type": "AddedToken","content": "","lstrip": false,"normalized": true,"rstrip": false,26 unmodified lines2728293031323326 unmodified lines"tokenizer_class": "WhisperTokenizer","unk_token": {"__type": "AddedToken","content": "<|endoftext|>","lstrip": false,"normalized": true,"rstrip": false,
12345{"": 50256,"!": 0,"!!": 1432,"!!!": 4589,123456{"": 50256,"<|endoftext|>": 50257,"!": 0,"!!": 1432,"!!!": 4589,
added_tokens.json-1
special_tokens_map.json+1-1
tokenizer.jsonAdded
tokenizer_config.json+1-1
vocab.json+1