Downloads · 30 days
0
coriollon/scribeair-diar-pruned-156m
scribeair-diar-pruned-156m is a voice activity detection model from coriollon. Use it for the voice activity detection task on the model card, and read the license before you ship it in a product. It is set up for diarizen. The card lists the license as mit.
A structurally-pruned speaker diarization pipeline based on DiariZen (WavLM-Large + Conformer + VBx clustering). The pruned variant has 156M parameters — half of the original 315M — while retaining most of the accurac…
Downloads · 30 days
0
Access
Public
Updated Jun 18, 2026
Repo size
1.3 GB
Likes
0
Public
Click a slice to open those files.
.bin1.3 GB · 100%
From the Hugging Face model README
A structurally-pruned speaker diarization pipeline based on DiariZen (WavLM-Large + Conformer
Built for the ScribeAir desktop speech-to-text app where the smaller footprint matters for CPU/edge deployment.
| Component | Original | Pruned |
|---|---|---|
| WavLM-Large encoder | 315.5 M | 156.5 M |
| Total params | ~316 M | 156.5 M |
| MACs | 17.8 G | 9.2 G |
| Sparsity (encoder) | 0% | 50% |
The Conformer head, weighted sum of WavLM layers, VBx clustering and PLDA are unchanged from the reference DiariZen pipeline.
Aggregate DER on an 18-file meeting corpus (AMI Array1 / NOTSOFAR / Russian
podcasts), collar=0, with overlap, AHC threshold = 0.6:
| Model | Params | Aggregate DER |
|---|---|---|
| DiariZen v1 teacher (BUT-FIT, CC-BY-NC) | 316 M | 14.02 % |
| scribeair-diar-pruned-156m (this model, ahc=0.75) | 156 M | 15.68 % |
| same weights, ahc=0.60 (previous tag) | 156 M | 15.73 % |
| Pre-pruning own-trained Large baseline | 316 M | 16.52 % |
(ahc_threshold = 0.75 in config.toml was tuned via a 5-value sweep on
the bench corpus; it gives a small but consistent −0.05 pp over the
DiariZen-default 0.60.)
The pruned model beats the full-size own-trained baseline by 0.79 pp and ends up just 1.71 pp behind the upstream teacher while shipping half the weights.
pruning_units = "conv,head,interm",
distill_lr = 2e-4, reg_lr = 2e-2, 5-epoch warmup, 8 epochs total.run_dual_opt_continued_training.py,
optimizer_small_lr = 2e-5, optimizer_big_lr = 1e-3, 7 epochs).25 % DER (35 / 242 files), producing
train_clean.
train_clean from the dual-opt best checkpoint
(1 epoch at the same LR; further epochs over-fit).2e-6 / 1e-4) for 1 more epoch.pytorch_model.bin.Only permissively-licensed meeting data:
| Corpus | License |
|---|---|
| AMI (HeadsetMix, Array1) | CC-BY 4.0 |
| AISHELL-4 | Apache-2.0 |
| NOTSOFAR-1 | CDLA-Permissive-2.0 |
AliMeeting is not used due to gated license terms, so this checkpoint is safe for commercial use.
MIT for the trained weights in this repository. The pipeline code lives in BUT-FIT's DiariZen (MIT) and Microsoft's WavLM (MIT). Embedding extractor used at inference time is pyannote/wespeaker-voxceleb-resnet34-LM (MIT).
pytorch_model.bin — full pipeline state dict (Conformer + pruned WavLM)wavlm.bin — pruned WavLM weights + architecture config (loaded first to
build the WavLM sub-module with the right pruned shapes)config.toml — pipeline configuration for DiariZenPipelineplda/{plda,xvec_transform}.npz — VBx PLDA artefacts (borrowed from
the upstream BUT-FIT DiariZen v1 release)pip install git+https://github.com/BUTSpeechFIT/DiariZen.git
from huggingface_hub import snapshot_download, hf_hub_download
from diarizen.pipelines.inference import DiariZenPipeline
# Pull this repo
local_dir = snapshot_download(repo_id="coriollon/scribeair-diar-pruned-156m")
# WeSpeaker embedding extractor (separate, MIT-licensed)
emb_path = hf_hub_download(
repo_id="pyannote/wespeaker-voxceleb-resnet34-LM",
filename="pytorch_model.bin",
)
pipe = DiariZenPipeline(diarizen_hub=local_dir, embedding_model=emb_path)
diarization = pipe("meeting.wav")
print(diarization) # pyannote.core.Annotation
wavlm.bin is loaded before pytorch_model.bin to instantiate the
pruned encoder architecture, so do not edit / replace it.If you use this checkpoint, please cite the upstream papers:
@article{han2025fine,
title={Fine-tune Before Structured Pruning: Towards Compact and Accurate
Self-Supervised Models for Speaker Diarization},
author={Han, Jiangyu and Landini, Federico and Rohdin, Johan and
Silnova, Anna and Diez, Mireia and Cernocky, Jan and Burget, Lukas},
journal={Proc. INTERSPEECH},
year={2025}
}
@article{chen2022wavlm,
title={WavLM: Large-Scale Self-Supervised Pre-Training for Full Stack
Speech Processing},
author={Chen, Sanyuan and Wang, Chengyi and Chen, Zhengyang and Wu, Yu
and Liu, Shujie and Chen, Zhuo and Li, Jinyu and Kanda, Naoyuki
and Yoshioka, Takuya and Xiao, Xiong and others},
journal={IEEE Journal of Selected Topics in Signal Processing},
year={2022}
}
Thanks to BUT-FIT (Han et al.) for the DiariZen pipeline and the pruning recipe, and to Microsoft for releasing WavLM under MIT.