Downloads · 30 days
26
18% of all-time downloads
christopherthompson81/cohere-transcribe-03-2026-onnx
cohere-transcribe-03-2026-onnx is a automatic speech recognition model from christopherthompson81. Use it when you need speech turned into text. It is set up for onnxruntime. The card lists the license as apache-2.0.
ONNX export of CohereLabs/cohere-transcribe-03-2026, a 2B-parameter Conformer encoder + Transformer decoder ASR model covering 14 languages, packaged for use with Vernacula and ONNX Runtime.
Downloads · 30 days
26
18% of all-time downloads
All-time downloads
145
Public
Repo size
17.8 GB
Likes
0
Public
Click a slice to open those files.
.data7.6 GB · 85%
From the Hugging Face model README
ONNX export of CohereLabs/cohere-transcribe-03-2026,
a 2B-parameter Conformer encoder + Transformer decoder ASR model covering
14 languages, packaged for use with
Vernacula and
ONNX Runtime.
scripts/cohere_export/CohereLabs/cohere-transcribe-03-2026cudaMemGetInfo-driven batch sizing (B ≤ 32, 2 GB safety margin). Decoder weights read once per step, amortised across the batch.input_lengths masking on a re-exported encoder kills padding contamination. At a 2× length ratio in a batch, the original global self-attention catastrophically looped on shorter segments; the patched attention masks padded positions pre-softmax.self_key, then all self_val, then all cross_key, then all cross_val) — interleaving causes MatMul dim mismatches on step 1.torch.export dynamo path with KV-cache split as default. Opset auto-clamped to ≥ 18 (onnxscript lacks v17 adapters for some ops). Encoder parity tightened from 5.83e-4 to 3e-6, decoder-step from 3.18e-2 to 4.8e-5 vs the legacy TorchScript path on fp32.| File | Purpose |
|---|---|
mel.onnx | Log-Mel spectrogram frontend (16 kHz waveform → mel features) |
encoder.onnx (+ .data) | Conformer acoustic encoder |
decoder_init.onnx (+ .data) | Initial decoder step — emits logits + KV tensors |
decoder_step.onnx (+ .data) | Subsequent decoder steps — consumes cached KV for fast autoregressive decode |
vocab.json | Tokenizer vocabulary |
config.json | Decoder config + special tokens |
manifest.json | Per-file MD5 hashes (used by Vernacula's download verifier) |
Exported via scripts/cohere_export/
in the Vernacula repo. The decoder is split into a prefill graph
(decoder_init.onnx) and a per-step graph (decoder_step.onnx) so
autoregressive generation reuses cached attention KV tensors instead of
recomputing them on every token — typical KV-cache decoder layout for ORT.
Measured on a local RTX 3090 with Vernacula's batched ONNX pipeline:
Uses batched encoder inference plus the KV-cache decoder split.
Apache-2.0, inherited from
the upstream CohereLabs/cohere-transcribe-03-2026
model. The upstream HF repo is gated (one-time acceptance flow before
download), but the license itself is permissive — commercial use is
allowed with attribution.
In Vernacula, select Cohere Transcribe as the ASR backend in Settings and
the package will be downloaded and verified against manifest.json
automatically. Outside Vernacula, pull with huggingface_hub and load with
onnxruntime:
from huggingface_hub import snapshot_download
path = snapshot_download(repo_id="christopherthompson81/cohere-transcribe-03-2026-onnx")
The decoder split (decoder_init.onnx + decoder_step.onnx) follows the
standard ORT KV-cache contract — see scripts/cohere_export/README.md
for the input / output tensor names and shapes.
Numerical behavior matches the upstream
CohereLabs/cohere-transcribe-03-2026
model. Language coverage (14 languages, listed above), accuracy, and
known failure modes inherit from the
upstream model card.
@misc{julian_mack_2026,
author = { Julian Mack and Ekagra Ranjan and Walter Beller-Morales and Bharat Venkitesh and Pierre Richemond },
title = { cohere-transcribe-03-2026 (Revision d96e814) },
year = 2026,
url = { https://huggingface.co/CohereLabs/cohere-transcribe-03-2026 },
doi = { 10.57967/hf/8653 },
publisher = { Hugging Face }
}
Issues with the ONNX export specifically: open an issue on the Vernacula repo. Issues with the underlying model: contact [email protected] or open an issue on the upstream model card.
scripts/cohere_export/) — the export pipeline that produced these filesCohereLabs/cohere-transcribe-03-2026 — upstream model card