Automatic Speech Recognition
Transformers
PyTorch
JAX
TensorBoard
ONNX
Safetensors
Transformers.js
English
whisper
audio
Eval Results
Instructions to use distil-whisper/distil-medium.en with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use distil-whisper/distil-medium.en with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="distil-whisper/distil-medium.en")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("distil-whisper/distil-medium.en") model = AutoModelForSpeechSeq2Seq.from_pretrained("distil-whisper/distil-medium.en", device_map="auto") - Transformers.js
How to use distil-whisper/distil-medium.en with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('automatic-speech-recognition', 'distil-whisper/distil-medium.en'); - Notebooks
- Google Colab
- Kaggle
Download ggml-medium-32-2.en.bin from distil-whisper/distil-medium.en: direct link, hf CLI and curl.
- Browser
- Download file 794 MB
-
https://huggingface.co/distil-whisper/distil-medium.en/resolve/main/ggml-medium-32-2.en.bin
- Command line
-
hf download hf://distil-whisper/distil-medium.en/ggml-medium-32-2.en.bin
-
curl -L -o ggml-medium-32-2.en.bin https://huggingface.co/distil-whisper/distil-medium.en/resolve/main/ggml-medium-32-2.en.bin
794 MB
- Xet hash:
- aea6d1a10a76e368b57cc7eeebc1b62814130dc4e3d4e5b0d39332d84f88c28d
- Size of remote file:
- 794 MB
- SHA256:
- ad53ccb618188b210550e98cc32bf5a13188d86635e395bb11115ed275d6e7aa
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.