Views
No views yet
speechbrain/spkrec-ecapa-voxceleb.1# In the nuclear diarization notebook, this model is loaded automatically:
2from huggingface_hub import hf_hub_download
3ckpt = hf_hub_download("nymtheescobar/ecapa-bengali-finetuned", "ecapa_bengali_finetuned.pt")
4state_dict = torch.load(ckpt)
5ecapa.mods.embedding_model.load_state_dict(state_dict, strict=False)