WhisperX

Batched Whisper transcription with phoneme-based word alignment and optional speaker labels.

Open SourceSelf HostedOffline Capable
0.0 (0)

About

Max Bain's pipeline, presented at INTERSPEECH 2023, fixes two weak spots in Whisper: loose timing and slow sequential decoding. A speech detector first cuts the audio into chunks, which are transcribed in batches through the faster-whisper (CTranslate2) backend, and the text is then force-aligned against a language-specific wav2vec2 phoneme model so each word receives accurate offsets. An optional third stage uses pyannote's community diarization model to tag words with speaker labels, which needs a Hugging Face token and acceptance of that model's terms. It installs through pip or uvx, giving a whisperx command (SRT with highlighted words, int8 CPU mode, speaker count hints) and a Python API exposing each stage. GPU use expects the CUDA 12.8 toolkit; large-v2 with beam search stays under 8 GB of VRAM, and smaller checkpoints or int8 shrink that further. Alignment models for English, French, German, Spanish and Italian come from torchaudio, with Hugging Face models covering many more languages. BSD-2-Clause licensing allows commercial use. Suited to subtitling, meeting transcripts and speech dataset preparation.

Should you use WhisperX?

Pick it when

Pick WhisperX when word timing and who said what both matter, such as subtitles, transcript editors, or meeting recordings, and you can run its batched pipeline on a CUDA GPU at roughly 70x realtime with large-v2.

Look elsewhere when

Skip it if plain text is enough, since faster-whisper is simpler, or if you want one end-to-end model for diarized output, where MOSS-Transcribe-Diarize fits. Check the BSD-4-Clause advertising clause and the diarization models' terms first.

Alternatives to WhisperX

  • faster-whisper

    Simpler and lighter when segment-level text is enough, MIT licensed, with no alignment or diarization models to download.

  • Whisper Timestamped

    Word timestamps plus per-word confidence from cross-attention without a separate alignment model, but no diarization and a copyleft license.

  • MOSS-Transcribe

    One end-to-end model emits speaker-labeled, timestamped text in 50+ languages, but it is a 2026 release with less field history.

  • Pyannote Audio

    Use it directly when diarization quality is the priority and you want to fine-tune on your own data, but it does no transcription.

Reviews (0)

Leave a Review

No reviews yet. Be the first to review!