qmetrics.net

whisperX

Speech recognition with word timestamps and diarization

WhisperX transcribes audio with batched Whisper inference, then aligns words using phoneme models for sharper timestamps. Optional speaker diarization labels who spoke when you provide a Hugging Face token.

Overview

WhisperX extends Whisper-style automatic speech recognition by adding voice-activity preprocessing, batching for faster throughput, and forced alignment so each word gets a time range instead of coarse utterance-level marks. It targets long recordings where vanilla Whisper timestamps can drift by seconds.

The default workflow is a command-line tool: point it at a WAV file, pick a Whisper model size, and receive transcripts plus subtitle-friendly output. Alignment models are chosen automatically for several European languages via torchaudio or Hugging Face; other languages need a suitable phoneme ASR checkpoint.

GPU runs use CUDA when available; CPU and int8 compute types are supported for machines without a GPU, including macOS. Flags control batch size, highlighting words in SRT output, conditioning on previous context, and min or max speaker counts during diarization.

Developers can also call the pipeline from Python. Optional Numba accelerates alignment loops on GPU batches, and a faster-whisper backend is integrated for inference. Limitations noted by the authors include tricky overlapping speech, imperfect diarization, and characters outside the aligner dictionary lacking timings.

Key features

  • Batched Whisper transcription
  • Word-level wav2vec2 alignment
  • VAD preprocessing before ASR
  • Optional speaker diarization
  • Multi-language alignment models
  • CLI and Python interfaces
  • faster-whisper backend support
  • Subtitle output with word highlights

Use cases

  • Generating accurate subtitles from recordings
  • Labeling speakers in meeting audio
  • Batch transcribing long interview files
  • Research workflows needing word timings

Tags

Similar software

whisper.cpp

Portable C/C++ inference for Whisper speech recognition

Whisper.cpp runs OpenAI Whisper ASR with a dependency-light C/C++ core and CLI tools. It targets CPUs and many GPU and NPU accelerators across common operating systems.

★ 55.6k⟳ 2 days agoMIT

sherpa-onnx

On-device speech ML toolkit with ONNX runtime

Local speech recognition, synthesis, and related audio ML using ONNX models without requiring an internet connection during inference.

★ 16.3k⟳ yesterdayApache-2.0

Fun-ASR

Multilingual end-to-end speech recognition model family

Fun-ASR provides speech recognition checkpoints from Tongyi Lab for Chinese, English, Japanese, dialects, and up to 31 languages. Inference runs through FunASR, Transformers, vLLM, or llama.cpp GGUF binaries.

★ 1.6k⟳ 8 days agoApache-2.0

TensorFlow

End-to-end machine learning platform and tooling ecosystem

TensorFlow is a machine learning platform with Python and C++ APIs, optional GPU packages, and companion libraries for data, training, deployment, and visualization.

★ 201.8k⟳ todayApache-2.0

Ollama

Run open AI models locally or in the cloud

Ollama runs open language models such as Gemma, Qwen, DeepSeek and gpt-oss on macOS, Windows and Linux, locally or in the cloud. It offers a CLI, a REST API, and Python and JavaScript libraries.

★ 188.3k⟳ 2 days agoMIT
Open Source Alternative to:OpenAI API

Transformers

Shared model definitions for multimodal ML workloads

Transformers is a Python library that defines pretrained text, vision, audio, and multimodal models once in PyTorch for shared inference and training across the ecosystem.

★ 169.4k⟳ todayApache-2.0