NathanRoll commited on
Commit
43142dd
·
verified ·
1 Parent(s): e31d65f

Publish verified Orukeet r3 Core ML preview bundles for TapTalk

Browse files
README.md CHANGED
@@ -153,6 +153,18 @@ times; it does not return emotion, speaking-style or speaker-diarization scores.
153
 
154
  This file has a different tensor layout from the native NeMo-Speech.cpp GGUFs above. Select the export for your runtime. [Conversion, checksums and validation](transcribe-cpp/README.md).
155
 
 
 
 
 
 
 
 
 
 
 
 
 
156
  ## Model files
157
 
158
  | Format | File | Bytes |
@@ -162,6 +174,8 @@ This file has a different tensor layout from the native NeMo-Speech.cpp GGUFs ab
162
  | transcribe.cpp Q8 | `orukeet-transcribe-cpp-Q8_0.gguf` | 739,508,608 |
163
  | Native F16 | `orukeet-v0.1.0-f16.gguf` | 1,296,681,088 |
164
  | ONNX INT8 archive | `onnx/sherpa-onnx-orukeet-v0.1.0-int8.tar.bz2` | 486,807,585 |
 
 
165
 
166
  All formats derive from **r3**. NeMo and native files are pinned to revision `555136b50265a132d4cea0d35560c26fc4f657ab`; the ONNX archive is pinned to `55a984d46f68323301837194ce647c702f55facc`. The ONNX package occupies 671,619,800 bytes after extraction.
167
 
 
153
 
154
  This file has a different tensor layout from the native NeMo-Speech.cpp GGUFs above. Select the export for your runtime. [Conversion, checksums and validation](transcribe-cpp/README.md).
155
 
156
+ ## Core ML preview for Apple Silicon
157
+
158
+ The [Core ML download and integration guide](coreml/README.md) includes portable
159
+ bundles for FluidAudio 0.15.5 and TapTalk, with checksums and a Swift loader.
160
+ Choose **greedy** for ordinary decoding or **baseline** when top-64 outputs are
161
+ needed for language hints/reranking. Compile the packages on the destination Mac.
162
+
163
+ The greedy profile reduced paired batch latency by 9.5% on one M5 Max and matched
164
+ baseline transcripts on 128 FLEURS recordings across eight languages. This is a
165
+ preview with separate [Core ML validation](https://github.com/Oruk-AI/orukeet/tree/347f646cacda2e001865b6ac40ba5cbc7e90d1c9/evidence/coreml-taptalk-20260915);
166
+ it does not convert the EOU 120M live-typing model.
167
+
168
  ## Model files
169
 
170
  | Format | File | Bytes |
 
174
  | transcribe.cpp Q8 | `orukeet-transcribe-cpp-Q8_0.gguf` | 739,508,608 |
175
  | Native F16 | `orukeet-v0.1.0-f16.gguf` | 1,296,681,088 |
176
  | ONNX INT8 archive | `onnx/sherpa-onnx-orukeet-v0.1.0-int8.tar.bz2` | 486,807,585 |
177
+ | Core ML greedy preview | `coreml/orukeet-r3-coreml-greedy.zip` | 466,579,943 |
178
+ | Core ML baseline preview | `coreml/orukeet-r3-coreml-baseline.zip` | 466,579,851 |
179
 
180
  All formats derive from **r3**. NeMo and native files are pinned to revision `555136b50265a132d4cea0d35560c26fc4f657ab`; the ONNX archive is pinned to `55a984d46f68323301837194ce647c702f55facc`. The ONNX package occupies 671,619,800 bytes after extraction.
181
 
coreml/README.md ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Orukeet r3 Core ML preview
2
+
3
+ Portable Core ML bundles for Apple Silicon, macOS 14+, and **FluidAudio 0.15.5**.
4
+ These are the same archives as the
5
+ [GitHub preview release](https://github.com/Oruk-AI/orukeet/releases/tag/coreml-taptalk-preview-20260915),
6
+ published here for TapTalk and other applications to download.
7
+
8
+ | Archive | Profile | Bytes |
9
+ |:--|:--|--:|
10
+ | [orukeet-r3-coreml-greedy.zip](https://huggingface.co/oruk/orukeet/resolve/coreml-taptalk-preview-20260915/coreml/orukeet-r3-coreml-greedy.zip?download=true) | Recommended for ordinary greedy decoding | 466,579,943 |
11
+ | [orukeet-r3-coreml-baseline.zip](https://huggingface.co/oruk/orukeet/resolve/coreml-taptalk-preview-20260915/coreml/orukeet-r3-coreml-baseline.zip?download=true) | Retains top-64 outputs for language hints/reranking | 466,579,851 |
12
+
13
+ [SHA256SUMS.txt](https://huggingface.co/oruk/orukeet/resolve/coreml-taptalk-preview-20260915/coreml/SHA256SUMS.txt)
14
+ contains the archive hashes. Each archive includes a `bundle.json` with per-file
15
+ SHA-256 hashes, conversion receipts, attribution, and the weight license.
16
+
17
+ ## Download
18
+
19
+ ```sh
20
+ python -m pip install 'huggingface-hub>=0.34,<2'
21
+ ```
22
+
23
+ ```python
24
+ import hashlib
25
+ from pathlib import Path
26
+ from zipfile import ZipFile
27
+ from huggingface_hub import hf_hub_download
28
+
29
+ archive = Path(hf_hub_download(
30
+ repo_id="oruk/orukeet",
31
+ filename="coreml/orukeet-r3-coreml-greedy.zip",
32
+ revision="coreml-taptalk-preview-20260915",
33
+ ))
34
+ expected = "beccdc6f18c4b10527a764f6e3ab12e3e11b969220c0cee175b3bb7eaa94290e"
35
+ with archive.open("rb") as stream:
36
+ digest = hashlib.sha256()
37
+ for block in iter(lambda: stream.read(8 * 1024 * 1024), b""):
38
+ digest.update(block)
39
+ if digest.hexdigest() != expected:
40
+ raise ValueError("Core ML archive checksum mismatch")
41
+ with ZipFile(archive) as bundle:
42
+ bundle.extractall("models")
43
+ print(Path("models/orukeet-r3-coreml-greedy").resolve())
44
+ ```
45
+
46
+ For an application downloader, use the archive URL above and verify its hash
47
+ before extraction. The archive has one top-level directory,
48
+ `orukeet-r3-coreml-greedy/` (or `orukeet-r3-coreml-baseline/`).
49
+
50
+ ## Load with Swift
51
+
52
+ Each bundle contains `Preprocessor.mlpackage`, `Encoder.mlpackage`,
53
+ `Decoder.mlpackage`, `JointDecisionv3.mlpackage`, and `parakeet_vocab.json`.
54
+ Compile all four packages on the destination Mac during installation;
55
+ machine-specific `.mlmodelc` caches are deliberately excluded.
56
+
57
+ The `OrukeetCoreML` library is in `export/coreml/benchmark` at
58
+ [Oruk-AI/orukeet commit 347f646](https://github.com/Oruk-AI/orukeet/tree/347f646cacda2e001865b6ac40ba5cbc7e90d1c9/export/coreml/benchmark).
59
+ Add that directory as a local Swift package dependency, then:
60
+
61
+ ```swift
62
+ import OrukeetCoreML
63
+
64
+ try OrukeetLocalModels.compilePackages(from: downloadedBundle, to: installedCache)
65
+ let engine = OrukeetEngine(modelDirectory: installedCache)
66
+ try await engine.ensureLoaded()
67
+ let result = try await engine.transcribe(samples: mono16kSamples)
68
+ print(result.text)
69
+ ```
70
+
71
+ `downloadedBundle` is the extracted profile directory; `installedCache` is a
72
+ fresh app-owned directory. Audio must be mono 16 kHz PCM. Keep the engine loaded
73
+ between recordings and keep the Orukeet cache separate from Parakeet's.
74
+ Use the explicit local loader rather than FluidAudio's NVIDIA model downloader.
75
+
76
+ [Full conversion and integration guide](https://github.com/Oruk-AI/orukeet/blob/347f646cacda2e001865b6ac40ba5cbc7e90d1c9/export/coreml/README.md)
77
+ · [Source PR #6](https://github.com/Oruk-AI/orukeet/pull/6)
78
+ · [TapTalk](https://github.com/vakharwalad23/tap-talk)
79
+
80
+ ## Measurements and scope
81
+
82
+ On one M5 Max, greedy decoding reduced paired batch latency by 9.5% relative
83
+ to the Core ML baseline. Baseline and greedy returned identical text on 128
84
+ FLEURS recordings across eight languages. Core ML WER was 7.64%, compared with
85
+ 8.55% for Parakeet Core ML and 7.29% for the uncompressed Orukeet source.
86
+ [Raw evidence and methodology](https://github.com/Oruk-AI/orukeet/tree/347f646cacda2e001865b6ac40ba5cbc7e90d1c9/evidence/coreml-taptalk-20260915).
87
+
88
+ The baseline uses 6-bit LUT/FP16 weights; the greedy profile removes unused
89
+ top-64 joint calculations. It is unsuitable for decoding paths that require
90
+ those outputs. The experimental precision profile is not included.
91
+
92
+ This is a preview. Other Macs, older OS versions, power use, and the full
93
+ 25-language Core ML evaluation remain unqualified. FluidAudio's default
94
+ sliding-window TDT path buffers roughly 13 seconds before first text. This is
95
+ not the separate Parakeet EOU 120M live-typing model.
96
+
97
+ ## License and attribution
98
+
99
+ Orukeet modified weights: CC BY-SA 4.0, retaining NVIDIA Parakeet attribution.
100
+ Core ML graphs derive from Fluid Inference's pinned Parakeet conversion.
101
+ FluidAudio runtime: Apache-2.0. Conversion and integration code: MIT.
102
+ The bundles retain `LICENSE-WEIGHTS`, `NOTICE.md`, and `COREML-NOTICE.txt`.
103
+
104
+ All weights derive from the r3 checkpoint with SHA-256
105
+ `031c8ddab4845aeced904a7cde8e8aa57993b2e344716cf83a545b079c473b56`.
106
+ Baseline graph metadata retains the upstream names for graph identity; use
107
+ `bundle.json` to identify the weights as Orukeet.
coreml/SHA256SUMS.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ beccdc6f18c4b10527a764f6e3ab12e3e11b969220c0cee175b3bb7eaa94290e orukeet-r3-coreml-greedy.zip
2
+ b2a6efc4ed3280c860f29b3e2e2ea242ade14c6482c94f1c8d3e8551d5edb626 orukeet-r3-coreml-baseline.zip
coreml/manifest.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": "Orukeet",
3
+ "source": "r3",
4
+ "source_sha256": "031c8ddab4845aeced904a7cde8e8aa57993b2e344716cf83a545b079c473b56",
5
+ "repo_id": "oruk/orukeet",
6
+ "release_tag": "coreml-taptalk-preview-20260915",
7
+ "source_code_revision": "347f646cacda2e001865b6ac40ba5cbc7e90d1c9",
8
+ "github_release": "https://github.com/Oruk-AI/orukeet/releases/tag/coreml-taptalk-preview-20260915",
9
+ "fluid_audio_version": "0.15.5",
10
+ "archives": {
11
+ "greedy": {
12
+ "filename": "orukeet-r3-coreml-greedy.zip",
13
+ "bytes": 466579943,
14
+ "sha256": "beccdc6f18c4b10527a764f6e3ab12e3e11b969220c0cee175b3bb7eaa94290e",
15
+ "verified_files": 18,
16
+ "compiled_cache_included": false,
17
+ "archive_root": "orukeet-r3-coreml-greedy/"
18
+ },
19
+ "baseline": {
20
+ "filename": "orukeet-r3-coreml-baseline.zip",
21
+ "bytes": 466579851,
22
+ "sha256": "b2a6efc4ed3280c860f29b3e2e2ea242ade14c6482c94f1c8d3e8551d5edb626",
23
+ "verified_files": 17,
24
+ "compiled_cache_included": false,
25
+ "archive_root": "orukeet-r3-coreml-baseline/"
26
+ }
27
+ }
28
+ }
coreml/orukeet-r3-coreml-baseline.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b2a6efc4ed3280c860f29b3e2e2ea242ade14c6482c94f1c8d3e8551d5edb626
3
+ size 466579851
coreml/orukeet-r3-coreml-greedy.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:beccdc6f18c4b10527a764f6e3ab12e3e11b969220c0cee175b3bb7eaa94290e
3
+ size 466579943