This model bundle is provided under Apache License 2.0. IBM Granite maintainer gsaon confirmed that all selected ONNX export and support files have an Apache 2.0 license. SoundEtch's graph modifications carry the exact modification notice below; LICENSE and NOTICE accompany the bundle. Attribution does not imply IBM endorsement.
English-only automatic speech recognition with local inference. This is IBM's q4f16 browser ONNX export of IBM Granite Speech 5.0 TurboCTC, 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 245e1e52c6fc01ba065c35b4af884d89cdca60de. 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.
All six files belong under onnx-ctc/. Use these sizes/hashes to verify the complete matching release.
| File | Bytes | SHA-256 |
|---|---|---|
granite_timing_v2_q4f16.onnx |
575,061 | 051cfe5a5fc10ae37f1ebea08dc5db428e89d9ceef88610faf5ebb8abfedea0b |
ctc_conformer_q4f16.onnx.data |
311,533,568 | bee3e56bee49991233ca64e755438d1dfbd90600d90af16b9e0388cca7294dbc |
frontend_config.json |
303 | 34b6d5aace683c15c8d74f6c1be6194bcd61347540ed3a0e45bbd171ba8df2a3 |
mel_filters.bin |
82,240 | 3e5145f681dd30339bb9ea60b366d78ff971de6aa0d210b45b4adcf859bb177d |
stft_window.bin |
2,048 | b318e8ace5febc3997eb190be755063577693ed06da87629172c9b6913448e41 |
vocab.json |
177,439 | 738b24db3fb10d903b969273f206600917222001f3f161dbe2bbe7eb7dce1268 |
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, punctuator, 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. vocab.json maps this graph's token IDs; the blank ID is 0.
The four outputs are:
frame_ids: int64 [T], per-frame greedy vocabulary IDs, including CTC blanks and repetitions.token_ids: int64 [N], nonblank greedy IDs 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 nonblank vocabulary. The blank column is not a nonblank token probability.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_v2_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 \
--repo-type space \
--revision 245e1e52c6fc01ba065c35b4af884d89cdca60de \
--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 245e1e52c6fc01ba065c35b4af884d89cdca60de. 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.
English only. The bundle does not include the separate upstream punctuation/capitalization model. 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_v2_q4f16.onnx 575.1 kBonnx-ctc/mel_filters.bin 82.2 kBonnx-ctc/stft_window.bin 2 kBibm-granite/granite-speech-5.0-470m-turboctc