Skip to content
ModelListedExternal
Browse files

WeSpeaker ResNet34 LM CoreML

CoreML conversion of WeSpeaker ResNet34-LM for Apple Neural Engine.

KindOtherBase modelpyannote/wespeaker-voxceleb-resnet34-LMVersionRevision b358f33Bgrade

Model source

Kind
Other
File size
243 B–12.7 MB
Base model
pyannote/wespeaker-voxceleb-resnet34-LM
Version
vRevision b358f33
Updated
Sep 26, 2026
Downloads
5.7K
Source
Hugging Face

Source description

WeSpeaker-ResNet34-LM — CoreML

CoreML conversion of WeSpeaker ResNet34-LM for Apple Neural Engine.

Produces 256-dimensional L2-normalized speaker embeddings from audio.

Model Details

DetailValue
ArchitectureResNet34 with statistics pooling
Parameters~6.6M
Input80-bin log-mel spectrogram (16kHz)
Output256-dim L2-normalized speaker embedding
BatchNormFused into Conv2d at conversion time

Usage

let model = try await WeSpeakerModel.fromPretrained(backend: .coreML)
let embedding = model.embed(audio: samples, sampleRate: 16000)
let similarity = WeSpeakerModel.cosineSimilarity(embeddingA, embeddingB)

Variants

VariantBackendModel ID
MLXGPUaufklarer/WeSpeaker-ResNet34-LM-MLX
CoreMLNeural Engineaufklarer/WeSpeaker-ResNet34-LM-CoreML

Links



Sources

1 source
Hugging FacePrimaryVersion b358f33f9e268a15aaf4aae0d4e747b82a8499e6
huggingface.co/aufklarer/WeSpeaker-ResNet34-LM-CoreML/tree/b358f33f9e268a15aaf4aae0d4e747b82a8499e6

Verified Aug 29

Download files

Model artifacts

3 artifacts

wespeaker.mlmodelc/analytics/coremldata.bin

bin · 243 B · SHA-256 f22f984e4419…5ba7 · Hugging Face

Download file

wespeaker.mlmodelc/coremldata.bin

bin · 452 B · SHA-256 bf152705e26e…65b2 · Hugging Face

Download file

wespeaker.mlmodelc/weights/weight.bin

bin · 12.7 MB · SHA-256 6dba18a57a81…d688 · Hugging Face

Download file

Source excerpts

2 excerpts

--- license: mit tags: - coreml - speaker-embedding - speaker-verification - speaker-diarization - wespeaker - neural-engine base_model: pyannote/wespeaker-voxceleb-resnet34-LM pipeline_tag: audio-classification --- # WeSpeaker-ResNet34-LM — CoreML CoreML conversion of [WeSpeaker ResNet34-LM](https://huggingface.co/pyannote/wespeaker-voxceleb-resnet34-LM) for Apple Neural Engine. Produces 256-dimensional L2-normalized speaker embeddings from audio. ## Model Details | Detail | Value | |--------|-------| | Architecture | ResNet34 with statistics pooling | | Parameters | ~6.6M | | Input | 80-bin log-mel spectrogram (16kHz) | | Output | 256-dim L2-normalized speaker embedding | | BatchNorm | Fused into Conv2d at conversion time | ## Usage ```swift let model = try await WeSpeakerModel.fromPretrained(backend: .coreML) let embedding = model.embed(audio: samples, sampleRate: 16000) let similarity = WeSpeakerModel.cosineSimilarity(embeddingA, embeddingB) ``` ## Variants | Variant | Backend | Model ID | |---------|---------|----------| | MLX | GPU | [aufklarer/WeSpeaker-ResNet34-LM-MLX](https://huggingface.co/aufklarer/WeSpeaker-ResNet34-LM-MLX) | | **CoreML** | **Neural Engine** | **aufklarer/WeSpeaker-ResNet34-LM-CoreML** | ## Links - **Swift library**: [soniqo/speech-swift](https://github.com/soniqo/speech-swift) - **Original model**: [pyannote/wespeaker-voxceleb-resnet34-LM](https://huggingface.co/pyannote/wespeaker-voxceleb-resnet34-LM) --- --- - **Guide**: [soniqo.audio/guides/embed-speaker](https://soniqo.audio/guides/embed-speaker) - **Docs**: [soniqo.audio](https://soniqo.audio) - **GitHub**: [soniqo/speech-swift](https://github.com/soniqo/speech-swift)

Source context: 5733 downloads · 0 likes · Pipeline audio-classification · Repo aufklarer/WeSpeaker-ResNet34-LM-CoreML