Whisper

term_id: whisper

Category: basic_concepts

Definition

Whisper is a general-purpose speech recognition model designed to handle various languages, dialects, and accents. It is trained on hundreds of thousands of hours of multilingual and multitask supervised data collected from the web. The model excels at robustness against noise and background sounds, making it suitable for real-world applications. It supports transcription, translation, and voice activity detection, providing high accuracy across different audio contexts without requiring extensive fine-tuning for specific domains.

Summary

An automatic speech recognition (ASR) system developed by OpenAI that is trained on a large dataset of diverse audio.

Key Concepts

  • Automatic Speech Recognition
  • Multilingual support
  • Robustness to noise
  • Transformer architecture

Use Cases

  • Video captioning and subtitles
  • Transcribing meetings or lectures
  • Voice command processing

Code Example

1
2
3
4
import whisper
model = whisper.load_model("base")
result = model.transcribe("audio.mp3")
print(result["text"])