Skip to content
Back to skills

Speaker Diarization

ASecurity

"Use for NeMo Speech speaker recognition, diarization, VAD,

  • 247 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 8, 2026
testingpythondebugging

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill speaker-diarization --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Speaker Diarization?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Speaker Diarization
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-speaker-diarization/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-speaker-diarization)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: speaker-diarization
description: "Use for NeMo Speech speaker recognition, diarization, VAD,
  Sortformer, speaker embeddings, ASR+diarization scoring, forced alignment,
  RTTM/CTM manifests, and speaker workflow troubleshooting."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Speaker Diarization

Use this sub-skill for NeMo Speech speaker workflows: speaker recognition and verification, speaker embedding extraction, clustering diarization, Sortformer end-to-end diarization, VAD-backed diarization, ASR plus diarization transcript scoring, forced alignment manifests and CTM/ASS outputs, RTTM handling, and speaker workflow troubleshooting.

Route elsewhere when the task is mostly general ASR transcription, ASR fine-tuning, or decoding; generic manifest sharding/tokenizer utilities; audio enhancement; or repository build/test work. For ASR model selection, decoding, timestamps, and fine-tuning, use `../asr/SKILL.md`.

## Start Here

1. Read `references/workflows.md` to choose between Sortformer, clustering diarization, speaker recognition, VAD, ASR+diarization, and forced-alignment workflows.
2. Read `references/data-formats.md` before creating or debugging manifests, RTTM, CTM, UEM, speaker labels, or output file paths.
3. Read `references/forced-alignment.md` for NeMo Forced Aligner concepts, manifest requirements, CTM/ASS output contracts, and EOU alignment notes.
4. Read `references/troubleshooting.md` when imports, optional dependencies, CUDA, manifests, Hydra overrides, VAD/clustering, Sortformer, ASR+diarization, or forced alignment fail.
5. Run `scripts/check_speaker_manifest.py --help` before long diarization, recognition, VAD, or forced-alignment runs.

## Safe Bundled Tool

- `scripts/check_speaker_manifest.py` validates JSONL manifests and common output path fields without importing NeMo, reading audio, downloading checkpoints, training, or writing outputs.
- Example: `python scripts/check_speaker_manifest.py manifest.json --task diarization-eval --require-rttm --check-rttm-speakers --require-matching-basename`.

## Core Facts

- Installed package evidence verified `nemo-toolkit` version `3.1.0+8f85359` from editable source-backed code. NeMo Speech docs currently target Python 3.12+, PyTorch 2.7+, and GPU/CUDA for training; GPU is strongly recommended for inference.
- Speaker recognition uses `nemo.collections.asr.models.EncDecSpeakerLabelModel` for TitaNet, ECAPA-TDNN, SpeakerNet, embeddings, verification, and batch inference.
- End-to-end diarization uses `nemo.collections.asr.models.SortformerEncLabelModel`; offline and streaming Sortformer variants emit speaker segments such as `[begin_seconds, end_seconds, speaker_index]`.
- Cascaded diarization uses `nemo.collections.asr.models.ClusteringDiarizer` with VAD, speaker embeddings, and clustering. It can also combine ASR word timestamps with diarization labels for speaker-attributed transcripts and cpWER-style evaluation.
- Forced alignment uses CTC ASR models to align audio to reference text or ASR-predicted text and can emit CTM and ASS outputs. The long source aligner scripts are reference-only in this skill; use the bundled references for config and data contracts.

## Evidence Base

This sub-skill distills repository evidence from `docs/source/asr/speaker_diarization/**`, `docs/source/asr/speaker_recognition/**`, `docs/source/asr/speech_classification/**`, `examples/speaker_tasks/**`, `scripts/speaker_tasks/**`, `scripts/voice_activity_detection/**`, `tools/nemo_forced_aligner/**`, `nemo/collections/asr/models/label_models.py`, `nemo/collections/asr/models/sortformer_diar_models.py`, `tests/collections/speaker_tasks/**`, and `tools/nemo_forced_aligner/tests/**`. Runtime guidance is self-contained; future agents should not need to reopen those source files.

Files in this skill

  • SKILL.md3.8 KB
  • references/data-formats.md10.6 KB
  • references/forced-alignment.md8.9 KB
  • references/troubleshooting.md11.3 KB
  • references/workflows.md15.2 KB
  • scripts/check_speaker_manifest.py24.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.