OpenASR's picture
publish diarizen-large-s80-v2 OpenASR packs
655b013 verified
|
Raw
History Blame Contribute Delete
5.04 kB
---
license: other
license_name: cc-by-nc-4.0
license_link: https://huggingface.co/BUT-FIT/diarizen-wavlm-large-s80-md-v2/blob/f27b9ffbedcf422856d104ecee9b94be37ea578e/README.md
base_model: BUT-FIT/diarizen-wavlm-large-s80-md-v2
pipeline_tag: voice-activity-detection
library_name: openasr
tags:
- speaker-diarization
- openasr
- oasr
---
<div align="center">
# DiariZen Large-s80-md-v2 Β· OpenASR
**DiariZen Large-s80-md-v2 β€” optional high-accuracy overlap-aware speaker segmentation for local Voice ID**
[![License](https://img.shields.io/badge/license-CC_BY--NC_4.0-2563eb.svg)](https://huggingface.co/BUT-FIT/diarizen-wavlm-large-s80-md-v2/blob/f27b9ffbedcf422856d104ecee9b94be37ea578e/README.md)
[![Format](https://img.shields.io/badge/format-.oasr-7c3aed.svg)](https://github.com/QuintinShaw/openasr)
[![Runtime](https://img.shields.io/badge/runtime-OpenASR-111827.svg)](https://openasr.org)
[![Base model](https://img.shields.io/badge/base-diarizen--wavlm--large--s80--md--v2-f59e0b.svg)](https://huggingface.co/BUT-FIT/diarizen-wavlm-large-s80-md-v2)
Speaker-diarization support pack for the **[OpenASR](https://github.com/QuintinShaw/openasr)** runtime β€”
pure-Rust inference, **no Python at inference time**.
</div>
---
## ✨ Highlights
- πŸ—£οΈ **Overlap-aware local activity** β€” a WavLM Large + Conformer EEND segmenter predicts four local speaker streams in each 16 s window
- 🎯 **Qualified native accuracy** β€” OpenASR's fp16 pipeline measured 7.9491% DER on six locked Mandarin meeting excerpts, versus 18.6787% for the MOSS baseline under the same scoring protocol
- 🀝 **Shared Voice ID contract** β€” combines with FireRed Stream-VAD, ReDimNet2-B6 and automatic clustering; ASR models consume one normalized speaker timeline
- πŸ”’ **Explicit non-commercial consent** β€” the checkpoint is CC BY-NC 4.0 and is never downloaded or activated without acknowledgement; segmentation-3.0 remains the permissive default
- πŸ¦€ **Native fp16 runtime** β€” the `.oasr` pack runs locally through OpenASR's persistent ggml graph without Python at inference time
- πŸ¦€ **Native in OpenASR** β€” `.oasr` packs run with no Python at inference, engineered for peak performance on CPU & GPU
## πŸš€ Quickstart
```bash
# 1. Install the OpenASR CLI Β· https://openasr.org
# 2. Pull the pack
openasr pull diarizen-large-s80-v2:fp16 --accept-license
# 3. Diarize any transcription (works with every OpenASR ASR model)
openasr transcribe meeting.wav --model xasr-zh-en --diarize --format srt
```
## πŸ“¦ Pack
| Quant | File (`.oasr`) | Size |
|:------|:---------------|-----:|
| fp16 | `diarizen-large-s80-v2-fp16.oasr` | 139 MB |
<sub>Single **fp16** build: projection weights ship as fp16; norms/biases and other
parity-sensitive tensors stay f32 inside the pack. No extra public quant tiers.</sub>
## 🧠 About DiariZen Large-s80-md-v2
DiariZen Large-s80-md-v2 is BUT Speech@FIT's overlap-aware speaker-segmentation
checkpoint built from a 24-layer WavLM Large encoder and a Conformer EEND head.
OpenASR packages the pinned checkpoint as one fp16 `.oasr` capability pack and
uses it as an optional external segmenter in the universal local-file Voice ID
pipeline. It predicts recording-local speaker activity; ReDimNet2-B6 still
provides clustering and enrolled-person identity. The checkpoint is licensed
under CC BY-NC 4.0, so downloading and activating it require explicit
non-commercial acknowledgement. OpenASR does not select it merely because Voice
ID was enabled; the permissive segmentation-3.0 pack remains the default.
## βš™οΈ How this pack was made
Converted from [BUT-FIT/diarizen-wavlm-large-s80-md-v2](https://huggingface.co/BUT-FIT/diarizen-wavlm-large-s80-md-v2) with the OpenASR importer:
```bash
python3 tooling/diarizen/convert_diarizen.py --checkpoint <pytorch_model.bin> --config <config.toml> --out <diarizen-large-s80-v2-fp16.oasr> --model-id diarizen-large-s80-v2 --quant fp16
```
The `.oasr` container is GGUF-backed; projection weights are stored as fp16 while
norms/biases and other parity-sensitive tensors remain f32.
## βš–οΈ License
This pack **inherits the upstream model's license: CC BY-NC 4.0**
([source](https://huggingface.co/BUT-FIT/diarizen-wavlm-large-s80-md-v2/blob/f27b9ffbedcf422856d104ecee9b94be37ea578e/README.md)). OpenASR packaging retains the upstream copyright;
the only modification is format conversion.
## πŸ™ Acknowledgements
This pack redistributes the pinned **BUT-FIT/diarizen-wavlm-large-s80-md-v2**
checkpoint in OpenASR's `.oasr` runtime format. Credit for the model,
architecture, training and original weights belongs to BUT Speech@FIT and the
DiariZen authors. The checkpoint is licensed under **CC BY-NC 4.0**; OpenASR's
format conversion does not broaden that license.
## πŸ”— Links
- πŸ¦€ **OpenASR** β€” <https://github.com/QuintinShaw/openasr>
- 🌐 **Website** β€” <https://openasr.org>
- πŸ€— **Upstream model** β€” [BUT-FIT/diarizen-wavlm-large-s80-md-v2](https://huggingface.co/BUT-FIT/diarizen-wavlm-large-s80-md-v2)