openai/whisper-tiny.en for Apple silicon: a transcribe model package of compiled Core ML models, mostly on the Neural Engine. The transcribe-model-darwin Rust crate loads it (AnyModel::load).
| Package | whisper-tiny.en: format 3, architecture whisper |
| Source weights | https://openaipublic.azureedge.net/main/whisper/models/d3dd57d32accea0b295c96e26691aa14d8822fac7d9d27d5dc00b4ca2826dd03/tiny.en.pt |
| License | MIT (LICENSE, NOTICE) |
| Languages | 1: en |
| Size | 29 MiB in 17 files |
| Requires | macOS 15.0 on Apple silicon |
| Built with | transcribe-models 0.0.1 at commit ff6f17639ee4d20f3724f9dfa6d99c34755dc77b, coremltools 9.0 |
| Model | Compute units | Functions | Weights |
|---|---|---|---|
frontend |
CPU | audio_480000 |
not compressed |
encoder |
CPU and Neural Engine | audio_480000 |
6-bit k-means palettes per tensor |
decoder |
CPU and Neural Engine | one | 6-bit k-means palettes per tensor |
Download manifest.json and every file it lists from https://huggingface.co/yorganci/whisper-tiny.en-6bit-coreml/resolve/<revision>/<path>, checking each file's size and SHA-256 against the manifest, then load the directory:
use transcribe_core::{Audio, TranscribeOptions, Transcriber};
use transcribe_model_darwin::{AnyModel, LoadOptions};
let mut model = AnyModel::load("whisper-tiny.en", LoadOptions::default())?;
let transcript = model.transcribe(Audio::new(&samples, 16_000), &TranscribeOptions::default())?;
The first load on a machine compiles the models for the Neural Engine (seconds to a couple of minutes); later loads are fast.
Error rates of this build with transcribe-eval (Apple M4; characters for Japanese, words otherwise):
| Set | Error rate | Substitutions | Deletions | Insertions | Reference units |
|---|---|---|---|---|---|
| LibriSpeech test-clean, 20 utterances | 3.00 % | 10 | 3 | 2 | 500 |
| LibriSpeech test-clean, 62 s clip, long-form with timestamps | 4.23 % | 5 | 0 | 1 | 142 |
whisper-tiny.en
OpenAI Whisper tiny.en (https://github.com/openai/whisper), Copyright (c) 2022 OpenAI, licensed under the MIT License.
Source: https://openaipublic.azureedge.net/main/whisper/models/d3dd57d32accea0b295c96e26691aa14d8822fac7d9d27d5dc00b4ca2826dd03/tiny.en.pt
License: MIT (LICENSE)
Changes: this package is a modified form of the source weights. transcribe-models
(https://github.com/atahanyorganci/transcribe) ported the model to PyTorch and converted
it to Core ML with coremltools 9.0, in float16 (the front end's constants in float32),
with these weight compressions:
- frontend: not compressed
- encoder: 6-bit k-means palettes per tensor
- decoder: 6-bit k-means palettes per tensor
coreml/decoder.mlmodelc/weights/weight.bin 20 MiBcoreml/encoder.mlmodelc/weights/weight.bin 7 MiBcoreml/frontend.mlmodelc/weights/weight.bin 691.1 KiBcoreml/decoder.mlmodelc/coremldata.bin 0.3 KiBcoreml/decoder.mlmodelc/analytics/coremldata.bin 0.2 KiBcoreml/encoder.mlmodelc/analytics/coremldata.bin 0.2 KiBcoreml/frontend.mlmodelc/analytics/coremldata.bin 0.2 KiBcoreml/encoder.mlmodelc/coremldata.bin 0.2 KiBcoreml/frontend.mlmodelc/coremldata.bin 0.2 KiBopenai/whisper-tiny.en