Downloads · 30 days
9
2% of all-time downloads
Masterx/cohere-transcribe-03-2026-ONNX
cohere-transcribe-03-2026-ONNX is a automatic speech recognition model from Masterx. Use it when you need speech turned into text. The card lists the license as apache-2.0.
ONNX export of CohereLabs/cohere-transcribe-03-2026 restructured to run correctly and fast on the ONNX Runtime DirectML EP (and every other EP). Weight bytes are identical to onnx-community/cohere-transcribe-03-2026-O…
Downloads · 30 days
9
2% of all-time downloads
All-time downloads
479
Public
Repo size
21.6 GB
Likes
0
Public
Click a slice to open those files.
.onnx_data11.2 GB · 58%
From the Hugging Face model README
ONNX export of CohereLabs/cohere-transcribe-03-2026 restructured to run correctly and fast on the ONNX Runtime DirectML EP (and every other EP). Weight bytes are identical to onnx-community/cohere-transcribe-03-2026-ONNX; the encoder proto additionally embeds the cross-attention projection weights hoisted out of the decoder (see below).
com.microsoft.MultiHeadAttention cross-attn + GroupQueryAttention
self-attn) crashes / mis-computes on the DML EP (ORT ≤ 1.24, unfixed).tools/onnx/cohere_decompose_attention.py)If nodes flattened away.encoder_model*.onnx (extra cross_attn.*
outputs) instead of on every decoded token.cross_bias mask, and every per-step shape is
constant. The DML EP now compiles the decoder once and reuses it, so per-token cost is
constant ~4 ms regardless of audio length, entirely on the GPU.Two decoders are shipped per precision:
decoder_model_merged*.onnx — fully static (fixed self- + cross-KV). Fastest on DirectML
(metadata winstt_static_kv).decoder_model_merged*_dyn.onnx — growing self-KV (cross still fixed). Faster on the CPU EP,
which doesn't benefit from static shapes. WinSTT loads this one when the decoder is CPU-bound.Both are numerically identical to the fused graph on CPU (autoregressive logits parity: bit-exact for fp32/int8/q4; fp16-rounding-level for fp16/q4f16). One padded encoder feeds both.
Measured decode per-token (fp32, ORT 1.24, RTX 3080 Ti), 3.4–4.4× faster than the prior hybrid:
| DirectML (static) | CPU (dynamic) | |
|---|---|---|
| any length (5 s … 66 s) | ~4 ms/token | ~12 ms/token |
Produced by WinSTT.
onnx/encoder_model[_fp16|_int8|_q4|_q4f16].onnx (+ external data) — hoisted, cross-padded encoder.onnx/decoder_model_merged[_fp16|_int8|_q4|_q4f16].onnx (+ _dyn) — static / dynamic decoders.