Speech-to-Text – explained simply
Speech-to-Text converts spoken language into written text, for example to transcribe recordings or videos.
Also: STT, Speech Recognition, Transcription, Whisper, ASR
The best-known open model for this is Whisper from OpenAI. It recognizes many languages, can translate speech into English, and identify the spoken language. The code and weights are available under the MIT license.
Whisper is available in several sizes. According to the project page, tiny needs about 1 GB VRAM, medium about 5 GB, and large about 10 GB; turbo gets by with about 6 GB and is much faster than large, but it cannot translate. Larger models usually recognize German more reliably, but they are slower.
What does that mean for you? For German recordings, a large model or the turbo model is usually the best choice, as long as you have enough VRAM.
Related terms
Errors where that matters
- faster-whisper: Requested float16 compute type, but the target device or backend do not support efficient float16 computation (rechen format doesn't match the device)
- UserWarning: FP16 is not supported on CPU; using FP32 instead (Whisper is running on the processor instead of the graphics card)
- whisper.cpp: invalid model data (bad magic) (model file has the wrong format)
- whisper.cpp: WARNING: The binary 'main.exe' is deprecated (program is now called whisper-cli.exe)
- Whisper: FileNotFoundError: [WinError 2] The system cannot find the file specified – ffmpeg is not installed or is not in the PATH
- WhisperX: Could not download 'pyannote/speaker-diarization…' pipeline / 'NoneType' object has no attribute 'to' (speaker diarization must not load the model)