This model bundle is provided under Apache License 2.0. The base model declares Apache-2.0, and the source IBM browser Space declares Apache-2.0 at the pinned revision. IBM Granite maintainer gsaon confirmed an Apache 2.0 license for the Space's ONNX export and support files before the Space replaced its English-only export with this multilingual one. SoundEtch's graph modifications carry the exact modification notice below; LICENSE and NOTICE accompany the bundle. Attribution does not imply IBM endorsement.
Multilingual automatic speech recognition with local inference, in English, French, German, Spanish, Portuguese, Italian, and Japanese. The model writes cased, punctuated text. This is IBM's q4f16 browser ONNX export of the multilingual IBM Granite Speech 5.0 TurboCTC release, modified for SoundEtch timing. It is not a newly trained or fine-tuned model. The q4f16 export uses quantized 4-bit weights with fp16 activations; SoundEtch's conversion does not change the original inference weights.
All source assets come from the IBM browser Space at revision c3f59960a21ecac56964cf3e01dd01945c3bf173. The original graph is onnx-ctc/ctc_conformer_q4f16.onnx; it is replaced in this bundle by the derived timing graph. The five other runtime files are unchanged upstream assets.
Earlier commits of this repository hold the English-only release with granite_timing_v2_q4f16.onnx. Its files do not mix with this release's.
All six files belong under onnx-ctc/. Use these sizes/hashes to verify the complete matching release.
| File | Bytes | SHA-256 |
|---|---|---|
granite_timing_v3_q4f16.onnx |
516,800 | 70ec1603680592bc8230748ee21ad84e92eb0045733c86c6060871c670eae64d |
ctc_conformer_q4f16.onnx.data |
311,533,568 | dc9443a7d76afb0f7e4b3344ba78d7d14333eaa3bd67f5f1c84b19ee8483e779 |
frontend_config.json |
305 | a3ee355ace6b898cb2a9976e9b1dde8994f21c8faf5a7b7f1a620f80f4448074 |
mel_filters.bin |
82,240 | 3e5145f681dd30339bb9ea60b366d78ff971de6aa0d210b45b4adcf859bb177d |
stft_window.bin |
2,048 | b318e8ace5febc3997eb190be755063577693ed06da87629172c9b6913448e41 |
vocab.json |
160,953 | 174b8f7769e5097bf15255570e9f6ea86e2da3c44ac5f4a9001d0c3a3893af3d |
The root LICENSE is the complete canonical Apache License 2.0 text. NOTICE supplies SoundEtch-authored attribution and the modification notice. The Space UI/application, original graph, ONNX Runtime binaries, and Silero VAD are not part of this model bundle.
Use the matching frontend and vocabulary files from this bundle. The frontend operates on mono 16 kHz audio with 80 log-mel bins, deltas, stacking, and padding as specified by frontend_config.json; use mel_filters.bin and stft_window.bin without substituting tables from another model. The ONNX inputs are input_features and padding_mask.
Token ID 0 is the CTC blank, and IDs 1–254 are task tokens such as <|nospeech|> that carry no text (num_special_tokens is 255). vocab.json lists the SentencePiece pieces of IDs 255–16383 in order: ▁ marks a word start, and the 256 byte-fallback pieces <0x00>–<0xFF> spell other characters one UTF-8 byte at a time.
The four outputs are:
frame_ids: int64 [T], per-frame greedy vocabulary IDs, including CTC blanks, task tokens, and repetitions.token_ids: int64 [N], greedy text-token IDs (255 and above) after CTC repeat collapse.ctc_scores: float32 [T, N+1], scores for the blank column followed by the decoded token columns, for transcript-conditioned timing.vocab_log_probs: float32 [T, 16384], vocabulary scores normalized over the text tokens. The blank and task-token columns are not text-token probabilities.Word timing requires SoundEtch's decoding/alignment logic; this graph does not directly output word timestamps. This custom graph is not a promised Transformers or Transformers.js drop-in.
The ONNX graph references the exact external-weight basename ctc_conformer_q4f16.onnx.data. In ONNX Runtime Web, supply the downloaded weights explicitly when creating the session:
const session = await ort.InferenceSession.create(graphBytes, {
executionProviders: [executionProvider],
externalData: [{ path: 'ctc_conformer_q4f16.onnx.data', data: weightBytes }],
graphOptimizationLevel: 'all',
})
Here ort is ONNX Runtime Web, graphBytes and weightBytes are the downloaded binary data, and executionProvider is the supported backend selected by the consuming application. This is the session integration contract, not a standalone audio frontend or transcriber. SoundEtch uses ONNX Runtime Web 1.26.0 and chooses its real WebGPU/WebAssembly backend. Inference runs locally; no hosted inference endpoint is provided. Download a complete matching bundle from a full pinned commit rather than mixing revisions.
From a SoundEtch source checkout with its Node dependencies installed:
yarn prepare:timing
node scripts/prepare-granite-timing.mjs --verify \
tmp/granite-publish/onnx-ctc/granite_timing_v3_q4f16.onnx
The generator always fetches the original graph from the pinned IBM Space revision above. It preserves upstream model metadata/notices, adds the four timing outputs, prunes unused graph components, preserves the original external-weight locations, appends the exact modification notice below, and atomically writes the graph to staging. Repeated generation is idempotent. Verification checks the timing version, outputs, operators, pruning, external-weight basename, and modification notice; compare byte sizes and SHA-256 separately before publication.
Retrieve only the five unchanged runtime dependencies with the official Hugging Face CLI:
hf download ibm-granite/granite-speech-streaming-webgpu \
onnx-ctc/ctc_conformer_q4f16.onnx.data \
onnx-ctc/frontend_config.json onnx-ctc/mel_filters.bin \
onnx-ctc/stft_window.bin onnx-ctc/vocab.json \
--type space \
--revision c3f59960a21ecac56964cf3e01dd01945c3bf173 \
--local-dir tmp/granite-publish
Modified by SoundEtch from the IBM Granite Speech q4f16 ONNX export in ibm-granite/granite-speech-streaming-webgpu at revision c3f59960a21ecac56964cf3e01dd01945c3bf173. Adds frame_ids, token_ids, ctc_scores, and vocab_log_probs outputs and prunes unused graph components. Reuses the original external-weight file ctc_conformer_q4f16.onnx.data.
Transcription only, in the seven languages above; no translation. See the base model card and pinned Space limitations for upstream intended use and limitations. Upstream benchmark results were not measured on this SoundEtch timing graph; no new accuracy or latency benchmark is claimed here.
The model-bundle license is Apache-2.0. SoundEtch's application license is separate and does not extend to these model artifacts. Attribution does not imply IBM endorsement. Hugging Face public storage is best-effort, and anonymous downloads have rate limits; this is not an unlimited-bandwidth or availability guarantee.
onnx-ctc/granite_timing_v3_q4f16.onnx 504.7 KiBonnx-ctc/mel_filters.bin 80.3 KiBonnx-ctc/stft_window.bin 2 KiB