Views
No views yet
scripts/diarizen_export/BUT-FIT/diarizen-wavlm-large-s80-mdNon-commercial use only. The upstream DiariZen segmentation model is licensed CC-BY-NC-4.0. This ONNX repackaging is a derivative work and inherits the same non-commercial restriction. See the License section below.
filtered / softScores arrays in segmentation decode.min(12, 0.75 × cpu_count), 8 threads × 2 workers): segmentation path 157 s → 59 s on RTX 3090. The 8×2 layout outperformed many-tiny-workers in the threading sweep..bin files (mean1, lda, mean2, plda_mu, plda_tr, plda_psi) with sqrt(256) / sqrt(128) normalisation factors pre-baked in. C# runs the speaker pipeline without a matrix library.batch_size ∈ {1, 2, 4, 8, 16} validated) but the original batch-1 export was still faster at runtime — the gains were ≤ 3.2% and net negative in practice.| File | Purpose |
|---|---|
diarizen_segmentation.onnx (+ .data) | DiariZen segmentation model (WavLM-Large + segmentation head) |
wespeaker_pyannote_weighted.onnx | WeSpeaker embedding model (pyannote-weighted variant) |
plda/lda.bin, mean1.bin, mean2.bin, plda_mu.bin, plda_psi.bin, plda_tr.bin | LDA + PLDA transform parameters as flat binary tensors |
metadata.json | Per-file integrity hashes and runtime config |
.bin files are raw float32 tensor dumps in the shapes Vernacula's
C# inference code expects — see the export script for layout.scripts/diarizen_export/
in the Vernacula repo. The pipeline is split into three on-disk artifacts
(segmentation ONNX, embedding ONNX, PLDA bins) so each can be loaded into
ORT independently and the LDA/PLDA transforms can be applied as plain
linear algebra in C#.| Component | Upstream license |
|---|---|
diarizen_segmentation.onnx | CC-BY-NC-4.0 (from BUT-FIT/diarizen-wavlm-large-s80-md) |
wespeaker_pyannote_weighted.onnx | Apache-2.0 (WeSpeaker), with pyannote-weighted variant inheriting upstream terms |
LDA/PLDA .bin parameters | Derived from DiariZen training; inherit CC-BY-NC-4.0 |
huggingface_hub and load with onnxruntime:1from huggingface_hub import snapshot_download
2path = snapshot_download(repo_id="christopherthompson81/diarizen_onnx").bin files are read as raw float32 tensors — see
scripts/diarizen_export/README.md
for the expected shapes and the post-processing pipeline.scripts/diarizen_export/) — the export pipeline that produced these filesBUT-FIT/diarizen-wavlm-large-s80-md — upstream segmentation model card