mefengl's picture
Upload README.md with huggingface_hub
ec43b0b verified
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

Hugging Face | GitHub

CoreML artifact for SenseVoiceSmall.

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`)