mefengl commited on
Commit
69e8c52
·
verified ·
1 Parent(s): 96a25dd

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +53 -0
README.md ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # SenseVoiceSmall-coreml
2
+
3
+ [Hugging Face](https://huggingface.co/mefengl/SenseVoiceSmall-coreml) | [GitHub](https://github.com/mefengl/SenseVoiceSmall-coreml)
4
+
5
+ CoreML artifact for **SenseVoiceSmall**.
6
+
7
+ - Upstream model: https://huggingface.co/FunAudioLLM/SenseVoiceSmall
8
+ - Upstream code: https://github.com/FunAudioLLM/SenseVoice
9
+
10
+ ## Download
11
+
12
+ ```bash
13
+ uvx hf download mefengl/SenseVoiceSmall-coreml --local-dir . \
14
+ --include "coreml/SenseVoiceSmall.mlmodelc.zip" \
15
+ --include "manifest.json" \
16
+ --include "checksums.sha256"
17
+ ```
18
+
19
+ ## Verify
20
+
21
+ ```bash
22
+ make verify
23
+ ```
24
+
25
+ ## Optional: generate CoreML `.mlpackage`
26
+
27
+ This repo vendors the converter, but imports model code from upstream SenseVoice.
28
+
29
+ ```bash
30
+ # clones upstream code into ./.upstream/SenseVoice automatically
31
+ make convert DEPLOYMENT_TARGET=macOS15
32
+ # output: ./.coreml-build/SenseVoiceSmall.mlpackage
33
+ ```
34
+
35
+ ## Optional: rebuild `coreml/SenseVoiceSmall.mlmodelc.zip` from a `.mlpackage`
36
+
37
+ macOS + Xcode required.
38
+
39
+ ```bash
40
+ make build
41
+ make inspect
42
+ make verify
43
+ ```
44
+
45
+ ## Optional: compare (numeric)
46
+
47
+ Vendored script (lives in this repo), but it imports model code from upstream SenseVoice.
48
+
49
+ ```bash
50
+ make compare \
51
+ MLPACKAGE=/path/to/SenseVoiceSmall.mlpackage
52
+ # SENSEVOICE_REPO defaults to ./.upstream/SenseVoice (auto-cloned by `make upstream`)
53
+ ```