Views
No views yet
speechbrain/spkrec-ecapa-voxceleb (ECAPA-TDNN)VoxVietnam and Vietnam-Celeb).best_checkpoint_rec98.pt — Fine-tuned embedding model weights (state_dict for model.mods.embedding_model).cohort/vi_cohort_500.pt — Cohort embeddings (500 Vietnamese speakers) for Z-Score/S-Score Normalization.cohort/vi_cohort_500_metadata.json — Cohort metadata.EVAL_* Cases| Target Recall | Threshold | Actual Recall | Target FR % | Imposter Leak % |
|---|---|---|---|---|
| 95% | 0.3990 | 94.34% | 5.66% | 3.08% |
| 98% | 0.3960 | 96.23% | 3.77% | 3.08% |
| 99% | 0.2996 | 98.11% | 1.89% | 7.69% |
1from speechbrain.inference.speaker import SpeakerRecognition
2from huggingface_hub import hf_hub_download
3import torch
4
5# Load base model
6model = SpeakerRecognition.from_hparams(
7 source="speechbrain/spkrec-ecapa-voxceleb",
8 run_opts={"device": "cpu"},
9)
10
11# Download and load fine-tuned weights
12ckpt_path = hf_hub_download(repo_id="Nampfiev1995/pvad-speechbrain-ft", filename="best_checkpoint_rec98.pt")
13state_dict = torch.load(ckpt_path, map_location="cpu")
14model.mods.embedding_model.load_state_dict(state_dict, strict=True)