This pipeline runs OpenAI Whisper ASR with VAD, alignment, and speaker embeddings so each sentence is attributed to a speaker in the output.
Overview
Whisper Diarization merges automatic speech recognition with voice activity detection and speaker embedding models. Audio first passes vocal separation to improve embedding quality, then Whisper produces text that is time-aligned with ctc-forced-aligner before diarization modules segment speech.
NVIDIA NeMo components handle VAD and TitaNet speaker embeddings after MarbleNet segmentation. Parameters for Whisper and NeMo live in the Python scripts, with a parallel diarizeparallel.py variant for machines with sufficient VRAM.
The CLI accepts audio files, optional language override, model size, batching controls, and GPU device selection. Requirements include Python 3.10 or newer, FFmpeg, and Cython to build dependencies.
Overlapping speakers remain a known limitation, and maintainers document future improvements such as tighter sentence limits for subtitles.
Key features
- Whisper-based transcription
- Speaker embedding diarization
- Vocal isolation preprocessing
- CTC forced alignment
- GPU batch inference option
- CLI-driven processing
Use cases
- Meeting transcription with speaker names
- Podcast or interview labeling
- Research on aligned ASR plus diarization