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