m-bain/whisperX
WhisperX: Automatic Speech Recognition with Word-level Timestamps (& Diarization)
What it solves
WhisperX addresses the limitations of OpenAI's Whisper model, which provides only broad, utterance-level timestamps that can be inaccurate by several seconds. It also solves the lack of native batching in the original Whisper, which is necessary for high-speed, large-scale audio processing.
How it works
WhisperX uses a multi-stage pipeline to improve transcription quality and speed. It first uses a high-performance backend to perform batched speech recognition. It then applies "forced alignment" using phoneme-based models (like wav2vec2) to map the text to precise word-level timestamps. Finally, it uses Voice Activity Detection (VAD) to filter out silence and speaker diarization to identify and label different speakers in the audio.
Who it’s for
It is designed for developers and researchers who need fast, accurate, and time-stamped transcriptions for long-form audio. It is particularly useful for those who need to identify multiple speakers in a recording or require high-throughput processing on GPU hardware.
Highlights
- 70x faster transcription speeds compared to standard Whisper using batched inference.
- Accurate word-level timestamps for precise subtitle and analysis tasks.
- Automatic speaker diarization to identify and label different speakers.
- VAD preprocessing to reduce transcription hallucinations and improve overall accuracy.
- Support for multiple languages via language-specific phoneme alignment models.
Related
- Project
- Project
- Project
- Project
- Dispatch