What do you want to do?
3 use cases
-
Transcribe an audio file with word timings
Install WhisperX and run the whisperx command on a recording to get a timed transcript and subtitles.
View prompt
Using m-bain/whisperX, install it with `pip install whisperx`, run `whisperx <my audio file> --highlight_words True`, then summarize what output files were created.
-
Label who said what with diarization
Run WhisperX with diarization on a multi-speaker recording using a larger model.
- REPO
m-bain/whisperX - Claude Code
- Codex
- Cursor
- Gemini CLI
- Content
- Intermediate
View prompt
With m-bain/whisperX, run `whisperx <my audio file> --model large-v2 --diarize --highlight_words True --min_speakers 2 --max_speakers 2` using my Hugging Face token from the environment, and show the first 20 labeled lines.
- REPO
-
Transcribe on a CPU-only laptop or Mac
Use int8 compute on CPU, and a smaller model if memory is tight.
View prompt
Using m-bain/whisperX, run `whisperx <my audio file> --compute_type int8 --device cpu` and if it fails for memory, retry with `--model base`.
Quick start with whisperX
- Check you have what it needs: Python with pip, ffmpeg may also be needed; A GPU with CUDA toolkit 12.8 for speed, CPU also works; A Hugging Face read token for speaker diarization.
- Open m-bain/whisperX on GitHub and read the README and license.
- Install WhisperX with
pip install whisperx - Run
whisperx path/to/audio.wavto transcribe with default settings - Add
--highlight_words Trueto see word timings in the .srt file - Open the output files and check the timing against the audio
These steps come from our top use case, Transcribe an audio file with word timings, which also has a copy-paste agent prompt.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for m-bain/whisperX
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeAbout this repo
- Who it is forPodcasters, researchers and developers who need accurate transcripts with word timings and speaker labels.
- Why it is hot25k stars, talked about in 2 AI sources we track
- LanguagePython
- Sourcegithub.com/m-bain/whisperX ยท Back to Hot repos
Requirements
- Python with pip, ffmpeg may also be needed
- A GPU with CUDA toolkit 12.8 for speed, CPU also works
- A Hugging Face read token for speaker diarization
Add this badge to your README
Maintain whisperX? Show readers where to find these use cases.
Markdown
[](https://dedupedai.com/use-cases/m-bain-whisperx/?utm_source=github&utm_medium=badge&utm_campaign=m-bain-whisperX)
HTML
<a href="https://dedupedai.com/use-cases/m-bain-whisperx/?utm_source=github&utm_medium=badge&utm_campaign=m-bain-whisperX"><img src="https://dedupedai.com/badge/m-bain/whisperX.svg" alt="Use cases on Deduped" height="20"></a>
A static image, no tracking script. About the badge
Questions about whisperX
What is whisperX?
WhisperX is fast Whisper-based speech recognition with word-level timestamps via forced phoneme alignment and speaker diarization. It runs batched inference through a faster-whisper backend, ships a `whisperx` command line tool and a Python API, and can run on CPU or GPU. It is an open-source project on GitHub: https://github.com/m-bain/whisperX.
How do I use whisperX?
Install WhisperX with pip install whisperx; then run whisperx path/to/audio.wav to transcribe with default settings; add --highlight_words True to see word timings in the .srt file. The use cases on this page give the full steps and a copy-paste agent prompt for each job.
Who is whisperX for?
Podcasters, researchers and developers who need accurate transcripts with word timings and speaker labels.
What can I do with whisperX?
3 use cases so far, for example: Transcribe an audio file with word timings; Label who said what with diarization; Transcribe on a CPU-only laptop or Mac. Each has steps and a copy-paste agent prompt.
What do I need to run whisperX?
Python with pip, ffmpeg may also be needed; A GPU with CUDA toolkit 12.8 for speed, CPU also works; A Hugging Face read token for speaker diarization.
What are alternatives to whisperX?
Other hot AI repos in Content: Impeccable, Hallmark, OpenMontage, Prompts Chat, Marketingskills.
Is whisperX safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.