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
sanchit-gandhi commited on
Commit ·
0d49445
1
Parent(s): 409c908
Add Flax weights
Browse filesFiles changed (3)
- config.json+1-1
- flax_model.msgpackAdded+3
- generation_config.json+1-1
135 unmodified lines136137138139140141142135 unmodified lines50362],"torch_dtype": "float32","transformers_version": "4.24.0.dev0","use_cache": true,"vocab_size": 51865}135 unmodified lines136137138139140141142135 unmodified lines50362],"torch_dtype": "float32","transformers_version": "4.27.0.dev0","use_cache": true,"vocab_size": 51865}
123version https://git-lfs.github.com/spec/v1oid sha256:9b4f5a77be626930646bdada78929b70771519e34139a6ede1733785f5d7f747size 3055465603213 unmodified lines214215216217218213 unmodified lines"transcribe": 50359,"translate": 50358},"transformers_version": "4.26.0.dev0"}213 unmodified lines214215216217218213 unmodified lines"transcribe": 50359,"translate": 50358},"transformers_version": "4.27.0.dev0"}
config.json+1-1
flax_model.msgpackAdded+3
generation_config.json+1-1