File size: 1,559 Bytes
9a7d623 3d0c56e 9a7d623 69e8c52 ec43b0b 69e8c52 4fdd398 69e8c52 4fdd398 69e8c52 e4cdc68 69e8c52 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 |
---
library_name: coreml
pipeline_tag: automatic-speech-recognition
tags:
- coreml
- speech-recognition
- sensevoice
- asr
license: other
license_name: funasr-model-license
license_link: https://github.com/modelscope/FunASR/blob/main/MODEL_LICENSE
language:
- zh
- en
- ja
- ko
- yue
---
# SenseVoiceSmall-coreml
[Hugging Face](https://huggingface.co/mefengl/SenseVoiceSmall-coreml) | [GitHub](https://github.com/mefengl/SenseVoiceSmall-coreml)
CoreML artifact for **SenseVoiceSmall**.
- Upstream model: https://huggingface.co/FunAudioLLM/SenseVoiceSmall
- Upstream code: https://github.com/FunAudioLLM/SenseVoice
## Download
```bash
uvx hf download mefengl/SenseVoiceSmall-coreml --local-dir . \
--include "coreml/SenseVoiceSmall.mlmodelc.zip" \
--include "config.json" \
--include "checksums.sha256"
```
## Verify
```bash
make verify
```
## Optional: generate CoreML `.mlpackage`
A CoreML conversion of SenseVoiceSmall, using the upstream model definition.
```bash
# clones upstream code into ./.upstream/SenseVoice automatically
make convert DEPLOYMENT_TARGET=macOS15
# output: ./.coreml-build/SenseVoiceSmall.mlpackage
```
## Optional: rebuild `coreml/SenseVoiceSmall.mlmodelc.zip` from a `.mlpackage`
macOS + Xcode required.
```bash
make build
make inspect
make verify
```
## Optional: compare (numeric)
Compare the CoreML output against the original PyTorch model.
```bash
make compare \
MLPACKAGE=.coreml-build/SenseVoiceSmall.mlpackage
# SENSEVOICE_REPO defaults to ./.upstream/SenseVoice (auto-cloned by `make upstream`)
```
|