Run this model with HF Jobs
Run Hellfeu/echo-dia on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Hellfeu/echo-dia. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Hellfeu/echo-dia on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Hellfeu/echo-dia with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Hellfeu/echo-dia with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Hellfeu/echo-dia", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Echo Dia: V4 DiariZen fine-tuned weights
Browse filesFiles changed (6)
- README.mdAdded+54
- config.jsonAdded+3
- config.tomlAdded+37
- plda/plda.npzAdded+3
- plda/xvec_transform.npzAdded+3
- pytorch_model.binAdded+3
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354---license: cc-by-nc-4.0library_name: transformerspipeline_tag: voice-activity-detectiontags:- speaker-diarization- meeting- wavlm- diarizen- echoprivate: true---
# Echo Dia (V4)
Fine-tuned DiariZen-v2 (`BUT-FIT/diarizen-wavlm-large-s80-md-v2`) on a multi-domain meeting compound.
## Training
- **Base model**: BUT-FIT/diarizen-wavlm-large-s80-md-v2- **Training data**: 9.1 h compound (AMI 3.5h + AliMeeting 2.6h + NOTSOFAR 3.0h)- **Strategy**: WavLM layer 23 unfrozen, lr_wavlm=2.5e-6, lr_head=1e-4- **Augmentation**: SpecAugment (time + freq mask) + audio noise injection- **Duration**: 60 minutes on RTX A6000 (Phase 3 winner V4)- **Best DER val** (ES2011a, 18 min): 17.69%
## Test set DER (collar=0, with overlap)
| Dataset | DER strict | DER col=0.25 | n_meetings ||---|---|---|---|| AMI test | 17.34% | 13.95% | 2 || AliMeeting test | 14.14% | 8.66% | 5 || NOTSOFAR test | 13.49% | 8.38% | 5 |
## Usage
```pythonimport torchfrom diarizen.pipelines.inference import DiariZenPipeline
# Load v2 base, then inject Echo Dia weightspipe = DiariZenPipeline.from_pretrained("BUT-FIT/diarizen-wavlm-large-s80-md-v2")sd = torch.load("pytorch_model.bin", map_location="cuda:0", weights_only=False)pipe._segmentation.model.load_state_dict(sd, strict=False)
# Runresult = pipe("audio.wav")for seg, _, spk in result.itertracks(yield_label=True): print(f"{seg.start:.1f}-{seg.end:.1f} {spk}")```
## License
CC BY-NC 4.0 (inherited from base model). Non-commercial use only.123{ "library_name": "transformers"}12345678910111213141516171819202122232425262728293031323334353637[model]path = "diarizen.models.eend.model_wavlm_conformer.Model"
[model.args]wavlm_src = "wavlm_large_s80_md"wavlm_layer_num = 25wavlm_feat_dim = 1024attention_in = 256ffn_hidden = 1024num_head = 4num_layer = 4dropout = 0.1max_speakers_per_chunk = 4max_speakers_per_frame = 4chunk_size = 16use_posi = falseoutput_activate_function = falseselected_channel = 0
[inference.args]seg_duration = 16segmentation_step = 0.1batch_size = 32apply_median_filtering = true
[clustering.args]method = "VBxClustering"min_speakers = 1max_speakers = 20ahc_criterion = "distance"ahc_threshold = 0.6Fa = 0.07Fb = 0.8lda_dim = 128max_iters = 20
123version https://git-lfs.github.com/spec/v1oid sha256:9b77bcd840692710dd3496f62ecfeed8d8e5f002fd991b785079b244eab7d255size 133852123version https://git-lfs.github.com/spec/v1oid sha256:325f1ce8e48f7e55e9c8aa47e05d2766b7c48c4b25b8de8dd751e7a4cc5fbe8fsize 134376123version https://git-lfs.github.com/spec/v1oid sha256:a8f5c8ed69cb2ed78860587a97b3c0425284eeb793c99d4d84a46b8ff71ff692size 278071935README.mdAdded+54
config.jsonAdded+3
config.tomlAdded+37
plda/plda.npzAdded+3
plda/xvec_transform.npzAdded+3
pytorch_model.binAdded+3