Downloads · 30 days
10
11% of all-time downloads
daanshil/pyannote-seg-afr-childspeech-ft
pyannote-seg-afr-childspeech-ft is a voice activity detection model from daanshil. Use it for the voice activity detection task on the model card, and read the license before you ship it in a product. The card lists the license as cc-by-nc-4.0.
Speaker diarization pipeline finetuned for Afrikaans child speech.
Downloads · 30 days
10
11% of all-time downloads
All-time downloads
90
Public
Repo size
17.7 MB
Likes
2
Public
Click a slice to open those files.
.bin17.7 MB · 50%
From the Hugging Face model README
Speaker diarization pipeline finetuned for Afrikaans child speech.
The segmentation model is a finetune of pyannote/segmentation-3.0
(PyanNet, powerset with max 2 concurrent speakers, 16 kHz, 15 s training chunks). Embedding and clustering
follow the pyannote 3.1 recipe, run under pyannote-audio 4.0.4.
pyannote.audio == 4.0.4 (pinned — see Version notes below)pyannote/speaker-diarization-community-1 — see note belowWhy
community-1is required. In pyannote-audio 4.x, building aSpeakerDiarizationpipeline loads a PLDA model unconditionally, then only uses it when clustering isVBxClustering. This pipeline usesAgglomerativeClustering, so the PLDA is fetched and ignored — but the download still happens, so you need access. Expect a first-run download you won't actually use.
from pyannote.audio import Pipeline
import torch
pipeline = Pipeline.from_pretrained(
"daanshil/pyannote-seg-afr-childspeech-ft", token="hf_..."
)
pipeline.to(torch.device("cuda")) # optional
output = pipeline("recording.wav")
# pyannote 4.x returns a DiarizeOutput wrapper — unwrap to get the Annotation
diarization = getattr(output, "speaker_diarization", output)
for turn, _, speaker in diarization.itertracks(yield_label=True):
print(f"{turn.start:.2f}s - {turn.end:.2f}s: {speaker}")