A
dynamically quantized MLX build of
CohereLabs/cohere-transcribe-03-2026:
instead of one bit-width per section, every module gets a bit-width assigned
from an empirical
quantization-sensitivity map (Unsloth-style dynamic
quantization, adapted to ASR). Most of the encoder runs at
2-bit; the
empirically fragile groups (decoder, last encoder blocks) stay at 3/4-bit.
Uniform 2-bit costs +2.01 pt WER; this allocation recovers ~75% of that
damage for only +0.4 effective bits.
1x1 Conv1d layers are converted to Linear equivalents to enable quantization.
1# apply the loader patch shipped in this repo (fixes two upstream
2# quantized-reload bugs; see mlx_audio_cohere_quant_patch.py)
3from mlx_audio_cohere_quant_patch import apply_patch
4apply_patch()
5
6from mlx_audio.stt import load
7
8model = load("MarkChen1214/cohere-transcribe-03-2026-MLX-Mixed-2bit3bit4bit")
9result = model.generate(audio="audio.wav", language="en", punctuation=True)
10print(result.text)
Evaluated with the HF Open ASR Leaderboard methodology (Whisper
EnglishTextNormalizer + jiwer).
MIT — use it however you like, attribution appreciated.
The base model (
CohereLabs/cohere-transcribe-03-2026)
is Apache 2.0; its notices apply to the underlying weights.