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 pytorch_model.fp32.bin from distil-whisper/distil-medium.en: direct link, hf CLI and curl.
- Browser
- Download file 1.58 GB
-
https://huggingface.co/distil-whisper/distil-medium.en/resolve/main/pytorch_model.fp32.bin
- Command line
-
hf download hf://distil-whisper/distil-medium.en/pytorch_model.fp32.bin
-
curl -L -o pytorch_model.fp32.bin https://huggingface.co/distil-whisper/distil-medium.en/resolve/main/pytorch_model.fp32.bin
1.58 GB
- Xet hash:
- d015f460f2f94a166d2c744bf3b5e478528ef8d36013beaa0a1f77c3380ee5c9
- Size of remote file:
- 1.58 GB
- SHA256:
- 091e585ad06874f5e768332cb2be53b94c1317d2e3c89a0ca25dce69a529802b
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.