metadata
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
CoreML artifact for SenseVoiceSmall.
- Upstream model: https://huggingface.co/FunAudioLLM/SenseVoiceSmall
- Upstream code: https://github.com/FunAudioLLM/SenseVoice
Download
uvx hf download mefengl/SenseVoiceSmall-coreml --local-dir . \
--include "coreml/SenseVoiceSmall.mlmodelc.zip" \
--include "config.json" \
--include "checksums.sha256"
Verify
make verify
Optional: generate CoreML .mlpackage
A CoreML conversion of SenseVoiceSmall, using the upstream model definition.
# 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.
make build
make inspect
make verify
Optional: compare (numeric)
Compare the CoreML output against the original PyTorch model.
make compare \
MLPACKAGE=.coreml-build/SenseVoiceSmall.mlpackage
# SENSEVOICE_REPO defaults to ./.upstream/SenseVoice (auto-cloned by `make upstream`)