aufklarer / Pyannote-Segmentation-MLX

huggingface.co
Total runs: 3.7K
24-hour runs: 19
7-day runs: -98
30-day runs: -925
Model's Last Updated: April 12 2026
voice-activity-detection

Introduction of Pyannote-Segmentation-MLX

Model Details of Pyannote-Segmentation-MLX

Pyannote Segmentation 3.0 — MLX

MLX-compatible weights for pyannote/segmentation-3.0 (PyanNet), converted from the official PyTorch Lightning checkpoint with pre-computed SincNet filters.

Model

PyanNet is a speaker segmentation model (~1.5M params) that processes 10-second audio windows and outputs 7-class powerset probabilities for up to 3 simultaneous speakers. Used for both voice activity detection (binary) and speaker diarization (per-speaker).

Architecture: SincNet → BiLSTM(4 layers) → Linear(2 layers) → 7-class softmax

Output classes: non-speech, spk1, spk2, spk3, spk1+2, spk1+3, spk2+3

Usage (Swift / MLX)
import SpeechVAD

// Voice Activity Detection
let vad = try await PyannoteVADModel.fromPretrained()
let segments = vad.detectSpeech(audio: samples, sampleRate: 16000)
for seg in segments {
    print("Speech: \(seg.startTime)s - \(seg.endTime)s")
}

// Speaker Diarization (with WeSpeaker embeddings)
let pipeline = try await DiarizationPipeline.fromPretrained()
let result = pipeline.diarize(audio: samples, sampleRate: 16000)
for seg in result.segments {
    print("Speaker \(seg.speakerId): \(seg.startTime)s - \(seg.endTime)s")
}

Part of qwen3-asr-swift .

Conversion
python3 scripts/convert_pyannote.py --token YOUR_HF_TOKEN --upload

Converts the gated pyannote/segmentation-3.0 checkpoint using a custom unpickler (no pyannote.audio dependency required). Key transformations:

  • SincNet : pre-compute 80 sinc bandpass filters (40 cos + 40 sin) from 40 learned (low_hz, band_hz) parameter pairs
  • Conv1d : transpose weights [O, I, K] → [O, K, I] for MLX channels-last
  • BiLSTM : split into forward/backward stacks, sum bias_ih + bias_hh
  • Linear/classifier : kept as-is
Weight Mapping
PyTorch Key MLX Key Shape
sincnet.conv1d.0.filterbank.* (computed) sincnet.conv.0.weight [80, 251, 1]
sincnet.conv1d.{1,2}.weight sincnet.conv.{1,2}.weight [O, K, I]
sincnet.norm1d.{0-2}.* sincnet.norm.{0-2}.* varies
lstm.weight_ih_l{i} lstm_fwd.layers.{i}.Wx [512, I]
lstm.weight_hh_l{i} lstm_fwd.layers.{i}.Wh [512, 128]
lstm.bias_ih_l{i} + bias_hh_l{i} lstm_fwd.layers.{i}.bias [512]
lstm.*_reverse lstm_bwd.layers.{i}.* same
linear.{0,1}.* linear.{0,1}.* varies
classifier.* classifier.* [7, 128]
License

The original pyannote segmentation model is released under the MIT License .

Runs of aufklarer Pyannote-Segmentation-MLX on huggingface.co

3.7K
Total runs
19
24-hour runs
144
3-day runs
-98
7-day runs
-925
30-day runs

More Information About Pyannote-Segmentation-MLX huggingface.co Model

More Pyannote-Segmentation-MLX license Visit here:

https://choosealicense.com/licenses/mit

Pyannote-Segmentation-MLX huggingface.co

Pyannote-Segmentation-MLX huggingface.co is an AI model on huggingface.co that provides Pyannote-Segmentation-MLX's model effect (), which can be used instantly with this aufklarer Pyannote-Segmentation-MLX model. huggingface.co supports a free trial of the Pyannote-Segmentation-MLX model, and also provides paid use of the Pyannote-Segmentation-MLX. Support call Pyannote-Segmentation-MLX model through api, including Node.js, Python, http.

Pyannote-Segmentation-MLX huggingface.co Url

https://huggingface.co/aufklarer/Pyannote-Segmentation-MLX

aufklarer Pyannote-Segmentation-MLX online free

Pyannote-Segmentation-MLX huggingface.co is an online trial and call api platform, which integrates Pyannote-Segmentation-MLX's modeling effects, including api services, and provides a free online trial of Pyannote-Segmentation-MLX, you can try Pyannote-Segmentation-MLX online for free by clicking the link below.

aufklarer Pyannote-Segmentation-MLX online free url in huggingface.co:

https://huggingface.co/aufklarer/Pyannote-Segmentation-MLX

Pyannote-Segmentation-MLX install

Pyannote-Segmentation-MLX is an open source model from GitHub that offers a free installation service, and any user can find Pyannote-Segmentation-MLX on GitHub to install. At the same time, huggingface.co provides the effect of Pyannote-Segmentation-MLX install, users can directly use Pyannote-Segmentation-MLX installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

Pyannote-Segmentation-MLX install url in huggingface.co:

https://huggingface.co/aufklarer/Pyannote-Segmentation-MLX

Url of Pyannote-Segmentation-MLX

Pyannote-Segmentation-MLX huggingface.co Url

Provider of Pyannote-Segmentation-MLX huggingface.co

aufklarer
ORGANIZATIONS

Other API from aufklarer

huggingface.co

Total runs: 2.5K
Run Growth: 2.3K
Growth Rate: 94.66%
Updated:September 16 2025
huggingface.co

Total runs: 151
Run Growth: 93
Growth Rate: 61.59%
Updated:October 15 2025