WeSpeaker ResNet34 LM CoreML
CoreML conversion of WeSpeaker ResNet34-LM for Apple Neural Engine.
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
| 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
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 |
| CoreML | Neural Engine | aufklarer/WeSpeaker-ResNet34-LM-CoreML |
Links
- Swift library: soniqo/speech-swift
- Original model: pyannote/wespeaker-voxceleb-resnet34-LM
- Guide: soniqo.audio/guides/embed-speaker
- Docs: soniqo.audio
- GitHub: soniqo/speech-swift
Sources
1 source
Sources
1 sourceVerified Aug 29
Download files
Model artifacts
3 artifacts
Model artifacts
3 artifactswespeaker.mlmodelc/analytics/coremldata.bin
bin · 243 B · SHA-256 f22f984e4419…5ba7 · Hugging Face
Download filewespeaker.mlmodelc/coremldata.bin
bin · 452 B · SHA-256 bf152705e26e…65b2 · Hugging Face
Download filewespeaker.mlmodelc/weights/weight.bin
bin · 12.7 MB · SHA-256 6dba18a57a81…d688 · Hugging Face
Download fileSource excerpts
2 excerpts
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
