All models

openai_whisper_large

Encoder-decoder speech transformer pretrained on 680,000 hours of audio; some members are compact random-init stand-ins

Audio and speech · 146 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (22 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Family
Whisper
Parameters
164.4K
Operations
146
Framework
PyTorch
Recurrent
No
Published
2022
Source
transformers 5.18.0
License
Apache-2.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m12050
Graph hash
31d761974d0015656ae105c421aa6f0730c2b5fb21499e7232325b15f48e9f3f
Skeleton hash
4889b7956666fe955c16fa5d9234928efc58363d4ddd45e576673005a4d45849
Architecture hash
06620c7eca82d3cb92ba07f52264b311deb1b8e2626c14844265ae9fe5be7c57
Diagram SHA-256
63f8cd37dfb748854b4d1cec2c139793572cd41be54ec0dd156cd3c9821b4932
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

About this model's family

Whisper is an encoder-decoder, sequence-to-sequence transformer for speech, pretrained on 680,000 hours of labeled audio. That volume of data gives it zero-shot ability on audio tasks in English and many other languages. The decoder maps the encoder's learned speech representations to useful outputs such as text without additional fine-tuning, which the documentation sums up as: Whisper just works out of the box.

In the library, Whisper relies on a custom generate method for inference. The WhisperProcessor prepares the audio and decodes predicted ids back into text. Besides the conditional-generation model, the library exposes WhisperForCausalLM and WhisperForAudioClassification heads on the same architecture.

Key idea. A sequence-to-sequence speech transformer whose 680,000 hours of labeled pretraining audio give zero-shot transcription across many languages with no fine-tuning.

  • Whisper
  • OpenAI Whisper
  • whisper-tiny
  • whisper-base
  • whisper-small
  • whisper-medium
  • whisper-large
  • whisper-large-v3-turbo
  • faster-whisper
  • ctranslate2
  • speech recognition
  • ASR
  • transcription
  • WhisperForConditionalGeneration

AI-written summary, based on the model's documentation and checked automatically against it; not reviewed by a person. Corrections welcome.