talira

OpenAI's open, general-purpose speech recognition model

open sourceMITself-hostablefree

Whisper is OpenAI's general-purpose speech recognition model, a Transformer sequence-to-sequence model trained on a large, diverse audio dataset to do multilingual speech recognition, speech translation into English, spoken language identification and voice activity detection. It comes in six sizes, from tiny (39M parameters, about 1 GB of VRAM) to large (1550M) and turbo (809M, an optimized large-v3), with English-only versions of the smaller four. The repository's Python package and whisper command transcribe audio files with PyTorch and ffmpeg; code and weights are under the MIT licence.

Problems it solves

  • transcribe audio and video files to text on my own machine without sending them to a cloud API
  • an open speech-to-text model I can use commercially
  • transcribe recordings in many languages and translate them into English
  • generate subtitles for videos automatically
  • pick a speech recognition model small enough to run on a laptop GPU

Features

  • multilingual speech recognition
  • speech translation into English
  • spoken language identification
  • six model sizes from tiny (39M) to large (1550M), plus turbo (809M)
  • English-only .en models for the four smaller sizes
  • Python package openai-whisper and a whisper command-line tool