Mindket

spkrec-ecapa-voxceleb

Newversion 1 · updated

Overview

Checks whether two audio recordings come from the same speaker and can output speaker embeddings, using an ECAPA-TDNN model in SpeechBrain. For developers and speech researchers.

spkrec-ecapa-voxceleb is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.

At a glance

You need
  • Python on Windows, macOS or Linux
  • SpeechBrain, which the card installs from its develop branch with a pip command that points to a code repository
  • torchaudio, to load your recordings
  • Audio at 16kHz with one channel, or let the file-level calls convert it for you
Runs in
  • Python scripts with SpeechBrain and torchaudio
  • Windows, macOS or Linux, with Python
  • A CUDA GPU, if you pass the device option when loading
Start with
pip install -U huggingface_hub
hf download speechbrain/spkrec-ecapa-voxceleb

Platform

WindowsOperating system
macOSOperating system
LinuxOperating system

About

What it is

spkrec-ecapa-voxceleb is a pretrained speaker verification model for SpeechBrain. It tells you whether two recordings come from the same person, and it can also output speaker embeddings, which are vectors of numbers that describe a voice. It was trained on the Voxceleb 1 and Voxceleb2 training data.

Who it suits

Developers and speech researchers who need to compare voices in Python are the main fit. Data teams can use the embeddings to group recordings by speaker.

IndustryWho uses itHow they use itExample
SecurityApplication developersCheck whether two recordings share a speakerCompare a new recording with one stored earlier
Audio analysisData teamsExtract embeddings to group recordings by voiceSort a folder of recordings by speaker
ResearchSpeech researchersUse it as a baseline for speaker verificationCompare their own results on the Voxceleb1 test set

If you need speech to text, voice cloning or a model proven on your own data, you can skip it.

Where to use it

Use it in Python scripts that run SpeechBrain.

  • Python scripts with SpeechBrain and torchaudio
  • Windows, macOS or Linux, with Python
  • A CUDA GPU, if you pass the device option when loading
Use caseWhoWhat they get back
Same-speaker checkDevelopersA score and a prediction of 1 for the same speaker or 0 for different ones
Voice embeddingsData teamsOne embedding per recording, ready for comparing or grouping
Baseline testingResearchersA pretrained reference system for speaker verification

How to set it up

You need Python, SpeechBrain and some audio.

  • Python on Windows, macOS or Linux
  • SpeechBrain, which the card installs from its develop branch with a pip command that points to a code repository
  • torchaudio, to load your recordings
  • Audio at 16kHz with one channel, or let the file-level calls convert it for you
  1. Install SpeechBrain as the card describes.
  2. Optionally download the model files with the Hugging Face hub package.
  3. Run one of the Python snippets in the next section.
pip install -U huggingface_hub
hf download speechbrain/spkrec-ecapa-voxceleb

How to use it

Load the classifier by its model name and pass it a recording to get embeddings.

import torchaudio
from speechbrain.inference.speaker import EncoderClassifier
classifier = EncoderClassifier.from_hparams(source="speechbrain/spkrec-ecapa-voxceleb")
signal, fs =torchaudio.load('tests/samples/ASR/spk1_snt1.wav')
embeddings = classifier.encode_batch(signal)

To compare two recordings, load the verification class and call verify_files on both files.

from speechbrain.inference.speaker import SpeakerRecognition
verification = SpeakerRecognition.from_hparams(source="speechbrain/spkrec-ecapa-voxceleb", savedir="pretrained_models/spkrec-ecapa-voxceleb")
score, prediction = verification.verify_files("tests/samples/ASR/spk1_snt1.wav", "tests/samples/ASR/spk2_snt1.wav") # Different Speakers
score, prediction = verification.verify_files("tests/samples/ASR/spk1_snt1.wav", "tests/samples/ASR/spk1_snt2.wav") # Same Speaker
ToolWhat it does
from_hparamsLoads the model by its name, and savedir sets where it is stored
encode_batchTurns a loaded recording into speaker embeddings
verify_filesCompares two audio files and returns a score and a prediction
classify_fileConverts audio to the expected format when it is needed

If you use encode_batch or classify_batch, make sure your audio tensor already has the expected sampling rate.

Example

You pass verify_files two recordings from different people. It returns a score and a prediction of 0. With two recordings from the same person, the prediction is 1.

For newcomers and experts

Think of it as a voice comparer. You give it two recordings, and it says whether one person spoke in both. A good first try is to run the verification snippet on two short recordings you have the right to use.

The system is an ECAPA-TDNN model, a mix of convolutional and residual blocks. Attentive statistical pooling produces the embeddings, training used Additive Margin Softmax Loss, and verification takes the cosine distance between two embeddings. The card reports an equal error rate of 0.80% on the cleaned Voxceleb1 test set.

  1. Load a recording at 16kHz with one channel
  2. Convolutional and residual blocks process it
  3. Attentive pooling makes a speaker embedding
  4. Cosine distance compares two embeddings
  5. A score and a 0 or 1 prediction come back

Good to know

Other people have published 6 quantized and 16 fine-tuned versions of it. The card also describes how to train the model from scratch with the SpeechBrain recipes.

  • Accuracy: an equal error rate of 0.80% on the cleaned Voxceleb1 test set
  • Audio format: trained on recordings at 16kHz with a single channel
  • Limits: the SpeechBrain team gives no warranty on results with other datasets
  • License: Apache 2.0
  • Cost to run: none named
  • Data it reaches: the audio files you pass in, plus the model files loaded by name from Hugging Face
  • Not for: counting on its accuracy with other datasets, since no warranty is given there

README and files

README

spkrec-ecapa-voxceleb

Checks whether two audio recordings come from the same speaker and can output speaker embeddings, using an ECAPA-TDNN model in SpeechBrain. For developers and speech researchers.

Made by speechbrain on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.

About

What it is: spkrec-ecapa-voxceleb is a pretrained speaker verification model for SpeechBrain. It tells you whether two recordings come from the same person, and it can also output speaker embeddings, which are vectors of numbers that describe a voice. It was trained on the Voxceleb 1 and Voxceleb2 training data.

Who it suits: Developers and speech researchers who need to compare voices in Python are the main fit. Data teams can use the embeddings to group recordings by speaker.

Industry | Who uses it | How they use it | Example
Security | Application developers | Check whether two recordings share a speaker | Compare a new recording with one stored earlier
Audio analysis | Data teams | Extract embeddings to group recordings by voice | Sort a folder of recordings by speaker
Research | Speech researchers | Use it as a baseline for speaker verification | Compare their own results on the Voxceleb1 test set

If you need speech to text, voice cloning or a model proven on your own data, you can skip it.

Where to use it: Use it in Python scripts that run SpeechBrain.

  • Python scripts with SpeechBrain and torchaudio
  • Windows, macOS or Linux, with Python
  • A CUDA GPU, if you pass the device option when loading
Use case | Who | What they get back
Same-speaker check | Developers | A score and a prediction of 1 for the same speaker or 0 for different ones
Voice embeddings | Data teams | One embedding per recording, ready for comparing or grouping
Baseline testing | Researchers | A pretrained reference system for speaker verification

How to set it up: You need Python, SpeechBrain and some audio.

  • Python on Windows, macOS or Linux
  • SpeechBrain, which the card installs from its develop branch with a pip command that points to a code repository
  • torchaudio, to load your recordings
  • Audio at 16kHz with one channel, or let the file-level calls convert it for you
  1. Install SpeechBrain as the card describes.
  2. Optionally download the model files with the Hugging Face hub package.
  3. Run one of the Python snippets in the next section.
pip install -U huggingface_hub
hf download speechbrain/spkrec-ecapa-voxceleb

How to use it: Load the classifier by its model name and pass it a recording to get embeddings.

import torchaudio
from speechbrain.inference.speaker import EncoderClassifier
classifier = EncoderClassifier.from_hparams(source="speechbrain/spkrec-ecapa-voxceleb")
signal, fs =torchaudio.load('tests/samples/ASR/spk1_snt1.wav')
embeddings = classifier.encode_batch(signal)

To compare two recordings, load the verification class and call verify_files on both files.

from speechbrain.inference.speaker import SpeakerRecognition
verification = SpeakerRecognition.from_hparams(source="speechbrain/spkrec-ecapa-voxceleb", savedir="pretrained_models/spkrec-ecapa-voxceleb")
score, prediction = verification.verify_files("tests/samples/ASR/spk1_snt1.wav", "tests/samples/ASR/spk2_snt1.wav") # Different Speakers
score, prediction = verification.verify_files("tests/samples/ASR/spk1_snt1.wav", "tests/samples/ASR/spk1_snt2.wav") # Same Speaker
Tool | What it does
from_hparams | Loads the model by its name, and savedir sets where it is stored
encode_batch | Turns a loaded recording into speaker embeddings
verify_files | Compares two audio files and returns a score and a prediction
classify_file | Converts audio to the expected format when it is needed

If you use encode_batch or classify_batch, make sure your audio tensor already has the expected sampling rate.

Example: You pass verify_files two recordings from different people. It returns a score and a prediction of 0. With two recordings from the same person, the prediction is 1.

For newcomers and experts: Think of it as a voice comparer. You give it two recordings, and it says whether one person spoke in both. A good first try is to run the verification snippet on two short recordings you have the right to use.

The system is an ECAPA-TDNN model, a mix of convolutional and residual blocks. Attentive statistical pooling produces the embeddings, training used Additive Margin Softmax Loss, and verification takes the cosine distance between two embeddings. The card reports an equal error rate of 0.80% on the cleaned Voxceleb1 test set.

Load a recording at 16kHz with one channel
Convolutional and residual blocks process it
Attentive pooling makes a speaker embedding
Cosine distance compares two embeddings
A score and a 0 or 1 prediction come back

Good to know: Other people have published 6 quantized and 16 fine-tuned versions of it. The card also describes how to train the model from scratch with the SpeechBrain recipes.

  • Accuracy: an equal error rate of 0.80% on the cleaned Voxceleb1 test set
  • Audio format: trained on recordings at 16kHz with a single channel
  • Limits: the SpeechBrain team gives no warranty on results with other datasets
  • License: Apache 2.0
  • Cost to run: none named
  • Data it reaches: the audio files you pass in, plus the model files loaded by name from Hugging Face
  • Not for: counting on its accuracy with other datasets, since no warranty is given there

On Hugging Face, 13 November 2026

  • Library: speechbrain
  • Downloads in the last 30 days: 1,912,322
  • Likes: 370
  • License: apache-2.0
  • Languages: en
  • Quantized versions: 6
  • Fine-tunes: 16
  • Tags: speechbrain, embeddings, speaker, verification, identification, pytorch, ecapa, tdnn

Links

Get the model

Download its files with Hugging Face's command line:

pip install -U huggingface_hub
hf download speechbrain/spkrec-ecapa-voxceleb

Then follow the usage in its model card. Nothing in this kit runs by itself.

Files
README.md  6 KB

1 file, 6 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-13

Compare with similar

Listed Hugging Face models in the same category that share the most tags with this one.

ProductDownloads, last 30 daysLikesParametersLicenseLast change
spkrec-ecapa-voxceleb This page1,912,322370—apache-2.0
wespeaker-voxceleb-resnet34-LMShares speaker · pytorch5,889,758226—cc-by-4.0
mine-embed-v1Shares embeddings · pytorch77657.8Mapache-2.0
hs-embed-1Shares embeddings22,4127112Mmit
all-MiniLM-L6-v2Shares pytorch174,740,1846,10422.7Mapache-2.0
bge-small-en-v1.5Shares pytorch45,750,54867133.4Mmit
Numbers as Mindket last read them, from 2026-11-12 to 2026-11-13.

Reviews

No ratings yet

Write a review

No reviews yet.

More from Mindket

See all from Mindket

Huashu Design

alchaincyf · Skill

Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…

New29.4k

Guizang PPT Skill

op7418 · Skill

Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…

New29.8k

Claude Code Skills & Plugins

alirezarezvani · Skill

Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…

New29.8k

Similar in Developer

See all in Developer

buzz

block · Kit

Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…

New37.3k

plannotator

backnotprop · Kit

Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.

New10.5k

open-code-review

alibaba · Kit

Reviews Git changes with an AI agent that reads files and searches the codebase, then writes comments tied to exact lines. It suits developers who want automat…

New50.7k