BarathwajAnandan/cohere-transcribe-03-2026-CoreML-6bit
Cohere Transcribe 03-2026 - CoreML (6-bit Palettized)
This is a CoreML conversion of CohereLabs/cohere-transcribe-03-2026 with 6-bit palettization for on-device speech recognition on Apple Silicon (macOS / iOS).
Model Details
Benchmark Results
Accuracy — LibriSpeech test-clean
Speed — Apple M4 Pro, GPU compute
Files
Usage
Swift CLI
pure_coreml_asr_cli \
--audio input.wav \
--artifacts-dir <path-to-this-repo> \
--compute gpu \
--decoder-mode cachedSwift App Integration
- Add all
.mlpackagefiles to your Xcode project - Load
coreml_manifest.jsonat runtime for tokenizer IDs and pipeline config - Use
MLModelwith.computeUnits = .cpuAndGPUfor best performance - Process audio in 30-second chunks with 5-second overlap (params in manifest)
Pipeline Architecture
Audio → Frontend (mel spectrogram) → Encoder → Decoder (autoregressive) → TextThe decoder runs in two phases:
- Full-sequence masked decoder generates the first token from encoder output
- KV-cached decoder generates subsequent tokens autoregressively
Compression Details
6-bit palettization clusters each weight tensor into 2⁶ = 64 centroids via k-means, storing only 6-bit indices + a small lookup table. This achieves 2.7× compression over FP16 with virtually no accuracy or speed loss on Apple GPU.
Applied to: encoder, full-sequence decoder, and cached decoder. The frontend remains FP32 (tiny model, no benefit from compression).
License
This converted model is released under GPL-3.0.
The upstream base model, CohereLabs/cohere-transcribe-03-2026, is Apache-2.0 licensed. This repo contains the CoreML conversion and quantized derivative artifacts.
