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-medium 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. 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 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 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use openai/whisper-medium with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="openai/whisper-medium")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("openai/whisper-medium") model = AutoModelForSpeechSeq2Seq.from_pretrained("openai/whisper-medium", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Add missing merge to tokenizer
#36
by sanchit-gandhi - opened
Files changed (4)
1234#version: 0.2Ġ aĠt hi n12345#version: 0.2Ġ tĠ aĠt hi n
110 unmodified lines111112113114115116117118119120121122123124125126127128129130131132110 unmodified lines"bos_token": {"content": "<|endoftext|>","lstrip": false,"normalized": true,"rstrip": false,"single_word": false},"eos_token": {"content": "<|endoftext|>","lstrip": false,"normalized": true,"rstrip": false,"single_word": false},"pad_token": "<|endoftext|>","unk_token": {"content": "<|endoftext|>","lstrip": false,"normalized": true,"rstrip": false,"single_word": false}110 unmodified lines111112113114115116117118119120121122123124125126127128129130131132133134135136137138110 unmodified lines"bos_token": {"content": "<|endoftext|>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false},"eos_token": {"content": "<|endoftext|>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false},"pad_token": {"content": "<|endoftext|>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false},"unk_token": {"content": "<|endoftext|>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false}
64847 unmodified lines64848648496485064851648526485364847 unmodified lines"<|endoftext|>": 50257},"merges": ["Ġ a","Ġt h","i n",64847 unmodified lines6484864849648506485164852648536485464847 unmodified lines"<|endoftext|>": 50257},"merges": ["Ġ t","Ġ a","Ġt h","i n",
merges.txt+1
special_tokens_map.json+10-4
tokenizer.json+1
tokenizer_config.json