AI SeedbankHelp preserve open and free AI for humanity's future

← All models

pyannote_embedding

pyannote · View on Hugging Face ↗

Get this model

Download TorrentMagnet Link

Seeders: · Leechers:

Model card

The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.


tags:

  • pyannote
  • pyannote-audio
  • pyannote-audio-model
  • audio
  • voice
  • speech
  • speaker
  • speaker-recognition
  • speaker-verification
  • speaker-identification
  • speaker-embedding datasets:
  • voxceleb license: mit inference: false extra_gated_prompt: "The collected information will help acquire a better knowledge of pyannote.audio userbase and help its maintainers apply for grants to improve it further. If you are an academic researcher, please cite the relevant papers in your own publications using the model. If you work for a company, please consider contributing back to pyannote.audio development (e.g. through unrestricted gifts). We also provide scientific consulting services around speaker diarization and machine listening." extra_gated_fields: Company/university: text Website: text I plan to use this model for (task, type of audio data, etc): text

Using this open-source model in production?
Consider switching to pyannoteAI for better and faster options.

🎹 Speaker embedding

Relies on pyannote.audio 2.1: see installation instructions.

This model is based on the canonical x-vector TDNN-based architecture, but with filter banks replaced with trainable SincNet features. See XVectorSincNet architecture for implementation details.

Basic usage

# 1. visit hf.co/pyannote/embedding and accept user conditions
# 2. visit hf.co/settings/tokens to create an access token
# 3. instantiate pretrained model
from pyannote.audio import Model
model = Model.from_pretrained("pyannote/embedding", 
                              use_auth_token="ACCESS_TOKEN_GOES_HERE")
from pyannote.audio import Inference
inference = Inference(model, window="whole")
embedding1 = inference("speaker1.wav")
embedding2 = inference("speaker2.wav")
# `embeddingX` is (1 x D) numpy array extracted from the file as a whole.

from scipy.spatial.distance import cdist
distance = cdist(embedding1, embedding2, metric="cosine")[0,0]
# `distance` is a `float` describing how dissimilar speakers 1 and 2 are.

Using cosine distance directly, this model reaches 2.8% equal error rate (EER) on VoxCeleb 1 test set.
This is without voice activity detection (VAD) nor probabilistic linear discriminant analysis (PLDA). Expect even better results when adding one of those.

Advanced usage

Running on GPU

import torch
inference.to(torch.device("cuda"))
embedding = inference("audio.wav")

Extract embedding from an excerpt

from pyannote.audio import Inference
from pyannote.core import Segment
inference = Inference(model, window="whole")
excerpt = Segment(13.37, 19.81)
embedding = inference.crop("audio.wav", excerpt)
# `embedding` is (1 x D) numpy array extracted from the file excerpt.

Extract embeddings using a sliding window

from pyannote.audio import Inference
inference = Inference(model, window="sliding",
                      duration=3.0, step=1.0)
embeddings = inference("audio.wav")
# `embeddings` is a (N x D) pyannote.core.SlidingWindowFeature
# `embeddings[i]` is the embedding of the ith position of the 
# sliding window, i.e. from [i * step, i * step + duration].

Citation

@inproceedings{Bredin2020,
  Title = {{pyannote.audio: neural building blocks for speaker diarization}},
  Author = {{Bredin}, Herv{\'e} and {Yin}, Ruiqing and {Coria}, Juan Manuel and {Gelly}, Gregory and {Korshunov}, Pavel and {Lavechin}, Marvin and {Fustes}, Diego and {Titeux}, Hadrien and {Bouaziz}, Wassim and {Gill}, Marie-Philippe},
  Booktitle = {ICASSP 2020, IEEE International Conference on Acoustics, Speech, and Signal Processing},
  Address = {Barcelona, Spain},
  Month = {May},
  Year = {2020},
}
@inproceedings{Coria2020,
    author="Coria, Juan M. and Bredin, Herv{\'e} and Ghannay, Sahar and Rosset, Sophie",
    editor="Espinosa-Anke, Luis and Mart{\'i}n-Vide, Carlos and Spasi{\'{c}}, Irena",
    title="{A Comparison of Metric Learning Loss Functions for End-To-End Speaker Verification}",
    booktitle="Statistical Language and Speech Processing",
    year="2020",
    publisher="Springer International Publishing",
    pages="137--148",
    isbn="978-3-030-59430-5"
}

Magnet link

Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:

magnet:?xt=urn:btih:0f103779604df4ddb41344e580d49a005ffc641e&dn=pyannote_embedding

Open magnet in torrent client · infohash 0f103779604df4ddb41344e580d49a005ffc641e

Files & hashes

PathSizesha1sha256
LICENSE1.0 KB (1,061 B)e5e0c2daded4524693e062d3e4fd016bbfb9a30814d7016ad68e7394d6e6b78d96cc2ae431c905287b89674cfdf021e79e62b8ba
README.md4.4 KB (4,549 B)f4fe9d8c7ed6049c51f5d107d627865f8c0495083c4381d88b2dcef82832879046d766f10b8a12a637d9a4dd90eee63e6514de18
config.yaml1.9 KB (1,996 B)703dcb4bd78d9156d978192c7693aab407ee05f4ca62ad63622a8e983ad5254a32a354b9dc69673485424d67f979c75bfffae38a
hparams.yaml93 B (93 B)9b8ac333f350d51f485ea36180143a63e16f23de7bee3c87bc68277d92b9fd01c36429ce94b649d0ebd1df3f72403a994a59db96
hydra.yaml5.2 KB (5,291 B)4d1abcac5abe316e5f084f45b1aea5cd27bf7e1428aad8d4d6328da803a94be9b847db9e95dfa71617888397a054ef2507a174b4
overrides.yaml315 B (315 B)60bbe62178f276467bb20e95d95e8c92ae929d544fe1f3c11ab3fde30cbdeed9947a8966144d6983d6e60e82a9415f944ec5014b
pytorch_model.bin91.9 MB (96,383,626 B)ec8c9fcfd32689f514cbf188b9cb6dd9cf3feb8e4bcec986de13da7af7ac88736572692359950df63669989c4f78b294934c9089
tfevents.bin5.4 MB (5,669,685 B)14449028a61b2c6c92838450cd877b1d532e2fb93319218e36d416c5400ffbc592acc2e1ab520a187d586be86db7eef30fb65616
train.log0 B (0 B)e69de29bb2d1d6434b8b29ae775ad8c2e48c5391e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

Cite this release

Canonical URL
https://aiseedbank.org/models/pyannote_embedding/
Slug
pyannote_embedding
Infohash
0f103779604df4ddb41344e580d49a005ffc641e
License
mit
Signing key fingerprint
85a3b32c3712427b

Every file carries a locally computed sha256 — verify a download against the signed sums: pyannote_embedding.SHA256SUMS (+ minisign signature).

Provenance

Upstream repositorypyannote/embedding
Revision (pinned)4db4899737a38b2d618bbd74350915aa10293cb2
Fetched at2026-09-04T05:31:09Z
License at fetchmit
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-09-04T05:31:12Z

mit97.3 MB (102,066,616 bytes)pyannote-audiopytorchtensorboardpyannotepyannote-audio-modelaudiovoicespeechspeakerspeaker-recognitionspeaker-verificationspeaker-identificationspeaker-embedding