MarkChen1214/cohere-transcribe-03-2026-CoreML-INT4
026
Cohere Transcribe 03-2026 — CoreML INT4 Fused
A highly compressed CoreML conversion of CohereLabs/cohere-transcribe-03-2026 with INT4 quantization and fused mel+encoder pipeline. Designed for on-device deployment on macOS/iOS with Apple Neural Engine and GPU acceleration.
Key Metrics
Architecture
Three CoreML .mlpackage files forming a complete ASR pipeline:
Compression Policy
Encoder
- Default: INT4 per-channel linear symmetric
- Softened:
pre_encode_*layers → INT8 (protects mel frontend STFT/filterbank) - Weight threshold: 500K params (smaller tensors kept FP16)
- Skipped: Non-linear conv constants (48 tensors, ~46M elements)
Decoder
- Default: INT4 per-channel linear symmetric
- Softened: Token embedding + position embedding → INT8
- Weight threshold: 16K params
- Skipped: Bias vectors below threshold
Pipeline Details
Usage (Swift)
// Load models
let encoder = try MLModel(contentsOf: encoderURL, configuration: config)
let decoderPrefill = try MLModel(contentsOf: prefillURL, configuration: config)
let decoderDecode = try MLModel(contentsOf: decodeURL, configuration: config)
// config.computeUnits = .cpuAndGPU // Required for INT4See cohere_transcribe_coreml_metadata.json for full pipeline configuration including prompt IDs, dimensions, and compression policy.
License
GPL-3.0 — see LICENSE.
The base model (CohereLabs/cohere-transcribe-03-2026) is Apache 2.0.
