Assign recording-wide speaker IDs with Whisper and pyannote #18
Loading…
Reference in a new issue
No description provided.
Delete branch "mike-bot/whisper-pyannote"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Both
.#transcribeand.#transcribe-clouduse faster-whisper large-v3 for English transcription and pyannote Community-1 for recording-wide speaker IDs. Every transcript entry has a speaker. The apps prefer exclusive turn overlap, then use regular overlap or the nearest turn when needed. Nearby words with unambiguous matches help break ties. If neither timeline has turns, transcribed words use a recording-localUNKNOWNlabel.Each recording has one compact JSON file containing the transcript and both diarization timelines. Transcript entries contain a speaker index and words with timestamps, Whisper confidence scores, and the method used to match each word to its speaker. The transcript and timelines share one
speaker_labelsarray. The function that writes the recording JSON documents the schema and matching rules; the README explains how to run and resume transcription.Rerun the same command to reuse completed Whisper word checkpoints. Run
nix run .#download-pyannote-model -- ./data/modelswith an authorizedHF_TOKENto download the pinned Community-1 model, or pass--pyannote-model DIRto select a model directory. Vast.ai receives the model files, not Hugging Face credentials.Assign recording-wide speaker IDs with Whisper and pyannoteto WIP: Assign recording-wide speaker IDs with Whisper and pyannoteWIP: Assign recording-wide speaker IDs with Whisper and pyannoteto Assign recording-wide speaker IDs with Whisper and pyannote