All families

Whisper

8 models, audio and speech. Fewest parameters first.

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.

Read more

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.

AI-written summary; not reviewed by a person. Corrections welcome.

Filter and sort these in the model list