Qwen3-ASR-0.6B for the browser (WebGPU), as used by Kaption
A pinned mirror of the files the Kaption extension downloads to run
Qwen/Qwen3-ASR-0.6B (Apache-2.0, revision
5eb144179a02acc5e5ba31e748d22b0cf3e303b0) with onnxruntime-web on WebGPU.
Where the files come from
Unmodified from jiangzhuo9357/Qwen3-ASR-0.6B-ONNX (Apache-2.0, revision
4a01b95fafe2c9e3af77e33c18bbb7de349c62f6, the "layout v2" export made for Sokuji):decoder_init.q4f16.onnx,decoder_step.q4f16.onnx,decoder_weights.q4f16.data,embed_tokens.int8.bin,embed_scales.f32.bin,mel_filters.json,tokenizer.json,prompt_config.json. Their SHA-256 matches the upstream LFS hashes (seeSHA256SUMS). The upstream model card is kept assource/UPSTREAM-README.md.Derived by Kaption:
encoder.int4.onnx. It is the upstream fp32encoder.onnxwith every MatMul weight quantized to ONNX RuntimeMatMulNBits(4-bit, block 32, symmetric, accuracy level 4), with fp32 activations and the same graph contract (mel[1, 128, T] fp32 βaudio_features[1, A, 1024] fp32). It was made withsource/quantize_encoder.py(onnxruntime'sMatMulNBitsQuantizer). On 8 synthetic notes (zh, zh-TW, tr Γ2, ar, ja, ko) in Chrome on an M4 Pro, it matched the upstream fp16 encoder: CJK CER 0.003, tr/ar WER 0.18 against 0.21, the same speed (warm RTF 0.062), with a 245 MB smaller download.Derived by Kaption:
decoder.gqa-q4f16.onnx(2026-11-18). One decoder graph for the prefill and every step, in the topology of onnxruntime-genai's model builder (GroupQueryAttentionwith rotary and q/k norm inside, about 380 nodes where the two upstream graphs run about 1,650 per token). It holds no new weights: every quantized block is the upstream one indecoder_weights.q4f16.data, referenced in place, so the transcripts are the upstream decoder's. Only the last position reaches the LM head, the greedy pick runs on the GPU (next_tokenis the only small output, the logits are not an output), and the rotary tables (2,048 positions) are stored in the graph file. Made withsource/build_gqa_decoder.py(andsource/extract_lm.pyfor the builder's input). In Chrome on an M4 Pro it decodes a token in 6.5 ms where the two upstream graphs take 13 ms; on an Intel UHD 620 laptop, 81 ms against 136 ms.Derived by Kaption:
encoder.int4f16.onnx(2026-11-18).encoder.int4.onnxwith fp16 activations inside and the same fp32 graph contract (melin,audio_featuresout), made withsource/encoder_f16.py(onnxconverter-common's fp16 pass, plus the mask's Cast that the pass leaves at fp32). 20 MB smaller. On 15 synthetic notes it scores the same as the fp32-activation encoder (zh CER 0.000, ja 0.081, ko 0.000 against 0.007, tr WER 0.185, ar 0.163); on an Intel UHD 620 the encoder stage takes 1.0 s where the fp32-activation one takes 1.5 s, on an M4 Pro 60 ms against 68 ms.
Graph contracts
The same as upstream: see source/UPSTREAM-README.md and prompt_config.json. Both decoders share
decoder_weights.q4f16.data, and their float inputs and outputs are fp16 (WebGPU shader-f16 required).
decoder.gqa-q4f16.onnx (external data: decoder_weights.q4f16.data): inputs inputs_embeds [1, S, 1024] fp16,
attention_mask [1, total] int64 (all ones; its length is the number of valid positions) and
past_key_values.{0..27}.{key,value} [1, 8, P, 128] fp16; outputs next_token [1] int64 and
present.{0..27}.{key,value}. With P = 0 it is a prefill. With a fixed-capacity buffer bound as both a layer's past
and its present (P = capacity >= total), a step writes only the new position.
License
Apache-2.0 (LICENSE), the same as the base model and the upstream ONNX export. Copyright of the model weights stays
with the Qwen team. The ONNX export is by jiangzhuo9357.
Model tree for kaptionai/qwen3-asr-web
Base model
Qwen/Qwen3-ASR-0.6B