anaksor-ocr
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Turns a voice recording into a speaker embedding with a pyannote.audio wrapper around the WeSpeaker ResNet34 model, so you can compare how alike two speakers sound. For speech and audio developers.
wespeaker-voxceleb-resnet34-LM 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.
pip install -U huggingface_hub hf download pyannote/wespeaker-voxceleb-resnet34-LM
This is a pyannote.audio wrapper around the WeSpeaker ResNet34 speaker embedding model trained on VoxCeleb. It converts a stretch of speech into a vector that describes who is speaking. You can compare two vectors to see how alike two voices are.
The card says it needs pyannote.audio version 3.1 or higher.
It suits developers and researchers who build speaker verification, diarization or voice search tools and want a ready speaker embedding model inside pyannote.audio.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Speech technology | Developers | Compare two recordings for the same speaker | Check if two clips share a voice |
| Meetings | Product teams | Label who spoke in a recording | Group segments by speaker |
| Research | Speech researchers | Extract embeddings for experiments | Cluster speakers in a dataset |
| Media | Audio engineers | Find segments from one speaker in long audio | Pull one guest's lines |
If you want a full diarization pipeline in one step, or speech recognition, you can skip it, since this model only produces embeddings. Use it only on audio you have the right to process.
The model loads through pyannote.audio in Python, which runs on Windows, macOS and Linux, on a CPU or a CUDA GPU.
| Use case | Who | What they get back |
|---|---|---|
| Speaker comparison | Developers | A cosine distance between two voices |
| Excerpt embedding | Researchers | A vector for a chosen time range |
| Sliding window | Diarization builders | One vector per window along the audio |
You need Python with pip and pyannote.audio at version 3.1 or newer. The card shows loading the model by its Hugging Face id.
pip install -U huggingface_hub hf download pyannote/wespeaker-voxceleb-resnet34-LM
You load the model, wrap it in an Inference object and pass it audio files. With the whole-file window you get one vector per file, and you compare two with a cosine distance.
# instantiate pretrained model
from pyannote.audio import Model
model = Model.from_pretrained("pyannote/wespeaker-voxceleb-resnet34-LM")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.| Tool | What it does |
|---|---|
| Model.from_pretrained | Loads the speaker embedding model |
| Inference with a whole window | Gives one embedding for a whole file |
| Inference with a sliding window | Gives one embedding per window |
| inference.crop | Gives an embedding for an excerpt |
You pass two WAV files to the Inference object and get one vector for each. The cosine distance between them is a number, and a lower number means the voices sound more alike.
If you are new, run the two-file example with a pair of short clips from the same person and then a pair from different people. Compare the two distances.
If you know the field, the sliding-window mode returns an N by D feature object, where each row covers a window of a set duration and step. That fits diarization pipelines that cluster these windows by speaker.
The model follows the license of its training data, VoxCeleb, so it is under Creative Commons Attribution 4.0. The card also notes a hosted option for production use.
Turns a voice recording into a speaker embedding with a pyannote.audio wrapper around the WeSpeaker ResNet34 model, so you can compare how alike two speakers sound. For speech and audio developers.
Made by pyannote 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.
What it is: This is a pyannote.audio wrapper around the WeSpeaker ResNet34 speaker embedding model trained on VoxCeleb. It converts a stretch of speech into a vector that describes who is speaking. You can compare two vectors to see how alike two voices are.
The card says it needs pyannote.audio version 3.1 or higher.
Who it suits: It suits developers and researchers who build speaker verification, diarization or voice search tools and want a ready speaker embedding model inside pyannote.audio.
Industry | Who uses it | How they use it | Example
Speech technology | Developers | Compare two recordings for the same speaker | Check if two clips share a voice
Meetings | Product teams | Label who spoke in a recording | Group segments by speaker
Research | Speech researchers | Extract embeddings for experiments | Cluster speakers in a dataset
Media | Audio engineers | Find segments from one speaker in long audio | Pull one guest's lines
If you want a full diarization pipeline in one step, or speech recognition, you can skip it, since this model only produces embeddings. Use it only on audio you have the right to process.
Where to use it: The model loads through pyannote.audio in Python, which runs on Windows, macOS and Linux, on a CPU or a CUDA GPU.
Use case | Who | What they get back
Speaker comparison | Developers | A cosine distance between two voices
Excerpt embedding | Researchers | A vector for a chosen time range
Sliding window | Diarization builders | One vector per window along the audio
How to set it up: You need Python with pip and pyannote.audio at version 3.1 or newer. The card shows loading the model by its Hugging Face id.
pip install -U huggingface_hub
hf download pyannote/wespeaker-voxceleb-resnet34-LM
How to use it: You load the model, wrap it in an Inference object and pass it audio files. With the whole-file window you get one vector per file, and you compare two with a cosine distance.
# instantiate pretrained model
from pyannote.audio import Model
model = Model.from_pretrained("pyannote/wespeaker-voxceleb-resnet34-LM")
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.
Tool | What it does
Model.from_pretrained | Loads the speaker embedding model
Inference with a whole window | Gives one embedding for a whole file
Inference with a sliding window | Gives one embedding per window
inference.crop | Gives an embedding for an excerpt
Example: You pass two WAV files to the Inference object and get one vector for each. The cosine distance between them is a number, and a lower number means the voices sound more alike.
For newcomers and experts: If you are new, run the two-file example with a pair of short clips from the same person and then a pair from different people. Compare the two distances.
If you know the field, the sliding-window mode returns an N by D feature object, where each row covers a window of a set duration and step. That fits diarization pipelines that cluster these windows by speaker.
Load the model by its id
Wrap it in an Inference object
Pass audio or an excerpt
Compare or cluster the vectors
Good to know: The model follows the license of its training data, VoxCeleb, so it is under Creative Commons Attribution 4.0. The card also notes a hosted option for production use.
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download pyannote/wespeaker-voxceleb-resnet34-LM
Then follow the usage in its model card. Nothing in this kit runs by itself.
README.md 5 KB
Listed Hugging Face models in the same category that share the most tags with this one.
| Product | Downloads, last 30 days | Likes | Parameters | License | Last change |
|---|---|---|---|---|---|
| wespeaker-voxceleb-resnet34-LM This page | 5,889,758 | 226 | — | cc-by-4.0 | |
| Parakeet RNNT 1.1BShares speech · audio · pytorch | 8,709 | 189 | 1.1B | cc-by-4.0 | |
| ARK-ASR-3BShares speech · audio · pytorch | 1,655 | 115 | 4.1B | apache-2.0 | |
| AADDShares speech · audio · pytorch | 73 | 9 | — | mit | |
| spkrec-ecapa-voxcelebShares speaker · pytorch | 1,912,322 | 370 | — | apache-2.0 | |
| parakeet-tdt-0.6b-v3Shares speech · audio | 529,594 | 1,272 | 627M | cc-by-4.0 |
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Qwen · Kit
Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…
ACE-Step · Kit
Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…
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…
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…
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.