GraySoft
Projects Models Compare Cloud benchmarks FAQ Download guIDE →
Model Intelligence Sheet

cstr/qwen3-asr-0.6b-GGUF overview

Qwen3 ASR 0.6B — GGUF ggml quantised GGUF / ggml conversions of Qwen/Qwen3 ASR 0.6B https://huggingface.co/Qwen/Qwen3 ASR 0.6B for use with the qwen3 asr main …

ggmlggufaudiospeech-recognitiontranscriptionqwen3speech-llmmultilingualautomatic-speech-recognitionarcsdadeelenesfafifilfrhihuidit

Runs locally from ~1.0 MB disk (4 GB VRAM class GPUs with llama.cpp / guIDE).

Downloads
2,871
Likes
2
Pipeline
automatic-speech-recognition
Author

Repository Files & Downloads

6 GGUF files detected
Direct downloads for local inference
FileTypeQuantizationSizeLink
qwen3-asr-0.6b-en-de.imatrix.ggufGGUFGGUF1.0 MBDownload
qwen3-asr-0.6b-q3_k-imatrix.ggufGGUFQ3_K506.6 MBDownload
qwen3-asr-0.6b-q4_k-imatrix.ggufGGUFQ4_K601.8 MBDownload
qwen3-asr-0.6b-q4_k.ggufGGUFQ4_K601.8 MBDownload
qwen3-asr-0.6b-q8_0.ggufGGUFQ8_0960.2 MBDownload
qwen3-asr-0.6b.ggufGGUFGGUF1.75 GBDownload

Model Details

Model IDcstr/qwen3-asr-0.6b-GGUF
Authorcstr
Pipelineautomatic-speech-recognition
Licenseapache-2.0
Base modelQwen/Qwen3-ASR-0.6B
Last modified2026-08-02T15:37:25.000Z

Model README

---

license: apache-2.0

language:

  • ar
  • cs
  • da
  • de
  • el
  • en
  • es
  • fa
  • fi
  • fil
  • fr
  • hi
  • hu
  • id
  • it
  • ja
  • ko
  • mk
  • ms
  • nl
  • pl
  • pt
  • ro
  • ru
  • sv
  • th
  • tr
  • vi
  • yue
  • zh

pipeline_tag: automatic-speech-recognition

tags:

  • audio
  • speech-recognition
  • transcription
  • ggml
  • gguf
  • qwen3
  • speech-llm
  • multilingual

library_name: ggml

base_model: Qwen/Qwen3-ASR-0.6B

---

Qwen3-ASR 0.6B — GGUF (ggml-quantised)

GGUF / ggml conversions of Qwen/Qwen3-ASR-0.6B for use with the qwen3-asr-main CLI from CrispStrobe/CrispASR.

Qwen3-ASR 0.6B is Alibaba's speech-LLM ASR model:

  • 30 languages + 22 Chinese dialects with automatic language detection
  • 6.42 % avg WER on the HuggingFace Open ASR Leaderboard
  • Apache-2.0 licence
  • Speech-LLM architecture: Whisper-style audio encoder (2D-conv subsampler + 18-layer Transformer + projector head, 896 → 1024) feeds frames into a stock Qwen3 0.6B LLM (28 layers, GQA 16/8, head_dim=128, Q-norm/K-norm, SwiGLU, RoPE θ=1e6) via embedding splice at <|audio_pad|> placeholder positions in a ChatML prompt. The LLM autoregressively generates the transcript.

This is the first speech-LLM in the CrispASR family — every other model in the set uses a dedicated CTC / transducer / encoder-decoder. The Qwen3-ASR runtime ships with a persistent KV cache so per-token decode is O(1) in cache size, not O(N) full re-forwards.

Files

| File | Size | Notes |

| --- | ---: | --- |

| qwen3-asr-0.6b.gguf | 1.88 GB | F16 |

| qwen3-asr-0.6b-q8_0.gguf | 961 MB | Q8_0, near-lossless |

| qwen3-asr-0.6b-q4_k.gguf | 631 MB | Q4_K — recommended default, faster than realtime on a 4-core CPU |

| qwen3-asr-0.6b-q4_k-imatrix.gguf | 631 MB | Q4_K, importance-matrix calibrated — see below. |

| qwen3-asr-0.6b-q3_k-imatrix.gguf | 531 MB | Q3_K + imatrix — smallest usable variant. |

| qwen3-asr-0.6b-en-de.imatrix.gguf | 913 KB | The importance matrix itself (CC0 Common Voice EN+DE calibration), for reproducibility / re-quantising other sizes. |

All quantisations produce the correct transcript on samples/jfk.wav:

> And so, my fellow Americans, ask not what your country can do for you; ask what you can do for your country.

2026-07 rebake — audio tower now Q8_0 (fixes long-audio repetition loops)

The sub-Q8 quantisations were re-baked with the 18-layer **audio encoder kept

at Q8_0** (previously Q4_0/Q4_K like the LLM body; ~90 MB larger per file).

Diff-harness analysis on a real 145 s clip

(CrispASR #218) showed

sub-8-bit encoder weights compound per-block drift (block 0 cos 0.9996 → block

17 cos 0.973 vs the bf16 reference) until greedy decode flips into repetition

loops ("hey, hey, hey, …") or an empty "language none" answer on long audio.

With the Q8_0 tower the encoder output is back at cos ≈ 0.9997 and the full

145 s clip transcribes cleanly in one pass — matching the bf16 reference — with

no repetition post-processing needed. Q8_0 / F16 files were never affected.

About the imatrix variant

-q4_k-imatrix.gguf is a Q4_K build quantised with an **importance

matrix**: per-column activation statistics

collected by running real audio through the F16 model

(CRISPASR_IMATRIX_OUT), so the quantiser spends precision on the columns the

model actually uses (the same idea as llama.cpp's llama-imatrix, but computed

from audio rather than a text corpus).

Calibrated on a CC0 Mozilla Common Voice

English + German sample, published at

cstr/crispasr-imatrix-calib.

Measured with the tools/imatrix_ab.py A/B harness (prefill first-token-logit

cosine vs the F16 gold, held-out clips):

| | mean cos vs F16 | delta |

| --- | ---: | ---: |

| Q4_K (same recipe, no imatrix) | 0.890 | — |

| Q4_K + imatrix | 0.941 | +0.051 (every EN/DE clip improved; DE most) |

So the imatrix recovers a good part of the quantisation's logit error at no

size cost. Calibration language coverage matters — an English-only corpus

made the imatrix worse; the EN+DE mix is what produced the gains above.

Long-form caveat: the calibration corpus is short utterances. On long

single-pass audio (--chunk-seconds 0, several minutes in one prompt) the

imatrix variants can still drift into repetition where the plain -q4_k.gguf

stays clean — for long-form use prefer -q4_k.gguf or -q8_0.gguf.

The mel filterbank from WhisperFeatureExtractor is baked into the GGUF as audio.mel_filters (along with audio.mel_window), so the C++ runtime computes the log-mel spectrogram natively without needing torch / librosa / scipy at inference time.

Quick Start

# 1. Build the runtime
git clone https://github.com/CrispStrobe/CrispASR
cd CrispASR
cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build -j$(nproc) --target qwen3-asr-main

# 2. Download a quantisation
huggingface-cli download cstr/qwen3-asr-0.6b-GGUF \
    qwen3-asr-0.6b-q4_k.gguf --local-dir .

# 3. Transcribe
./build/bin/qwen3-asr-main \
    -m qwen3-asr-0.6b-q4_k.gguf \
    -f your-audio.wav -t 8

Audio must be 16 kHz mono 16-bit PCM WAV. Pre-convert with:

ffmpeg -i input.mp3 -ar 16000 -ac 1 -c:a pcm_s16le output.wav

Performance

Measured on samples/jfk.wav (11 seconds), Apple-class 4-core CPU:

| Variant | Mel | Encoder | Prefill | Decode/tok | Total |

| --- | ---: | ---: | ---: | ---: | ---: |

| F16 | 250 ms | 2660 ms | 3032 ms | 151 ms | 10.3 s |

| Q8_0 | 236 ms | 2459 ms | 2840 ms | 137 ms | 9.5 s |

| Q4_K | 246 ms | 2851 ms | 2721 ms | 118 ms | 9.3 s |

Q4_K runs slightly faster than realtime with no quality loss on this clip.

Architecture

| Component | Details |

| --- | --- |

| Audio encoder | 18-layer Whisper-style pre-LN Transformer, d=896, heads=14, head_dim=64, FFN=3584 |

| Conv subsampler | 3 × Conv2D stride-2 (1→480→480→480), then linear (480·16=7680 → 896). Output frame rate ~13 frames / second of audio (~77 ms / frame) |

| Projector | ln_post → proj1 (896→896) → GELU → proj2 (896→1024) |

| LLM | Qwen3 0.6B: 28 layers, hidden=1024, 16 Q heads / 8 KV heads (GQA), head_dim=128, FFN=3072, SwiGLU, RMSNorm, per-head Q-norm / K-norm, NEOX-style RoPE θ=1e6 |

| Vocab | 151 936 tokens (Qwen2 BPE, GPT-2 byte encoding) |

| Audio | 16 kHz mono, 128 mel bins, n_fft=400, hop=160, win=400 (matches WhisperFeatureExtractor) |

| Audio injection | <|audio_pad|> placeholder positions in ChatML prompt get their token embedding replaced with the encoder output frames |

| Parameters | ~900 M |

Implementation notes (correctness)

The C++ runtime is verified to F16 numerical precision against the PyTorch reference at every architectural boundary on samples/jfk.wav:

| Stage | Diff metric | Result |

| --- | --- | --- |

| Conv front-end (per-chunk Conv2D + flatten + linear) | max abs vs conv_out.npy | 1.43e-4 |

| Full audio encoder (18 layers + projector) | per-row cosine sim vs proj2_out.npy | mean 1.000000, min 0.999999 |

| Qwen3 LLM forward (28 layers, no audio) | per-position cosine sim vs llm_logits.npy | mean 0.999999, top-1 9/9 |

| End-to-end (audio → spliced embeds → LLM → greedy decode) | reproduced reference token sequence | 26 / 26 |

| Mel filterbank (C++ STFT vs WhisperFeatureExtractor) | max abs vs mel_input.npy | 2.2e-2 |

Bugs that would have been hours of debugging

A few non-obvious gotchas the port had to handle:

  1. ggml_permute semantics are inverted from the obvious reading: permute(t, p0, p1, p2, p3) means "source axis i goes to NEW position p_i", not "new axis i comes from source axis p_i".
  2. PyTorch hooks fire pre-GELU when registered on an nn.Conv2d module — the F.gelu is applied externally in the forward function.
  3. cu_seqlens is GPU-only: eager_attention_forward (used on CPU) ignores cu_seqlens and does standard full self-attention. The "windowed attention" path only kicks in for FlashAttention2 on GPU. Don't apply the windowed mask on CPU — the reference produces full-attention output.
  4. WhisperFeatureExtractor.mel_filters shape is (n_freqs=201, n_mels=128), not (n_mels, n_freqs) as the parameter ordering might suggest.
  5. Qwen3 attention output width is hd × n_q_heads = 2048, not d_model = 1024. The o_proj is (2048 → 1024), so the attention output is reshaped to (2048, T) before o_proj.
  6. mrope sidestep: Qwen3-ASR uses interleaved multi-modal RoPE with mrope_section=[24,20,20]. For text-only or 1D-position input (which includes our spliced audio frames), the three mrope sections all receive identical position_ids and collapse to standard 1D RoPE. The simpler RoPE matches the reference perfectly for our use case.

See qwen3-asr-todo.md in the runtime repo for the complete work log.

How this was made

  1. The HF safetensors model was converted to GGUF F16 by models/convert-qwen3-asr-to-gguf.py. All 612 tensors map cleanly. The mel filterbank (from WhisperFeatureExtractor.mel_filters) and Hann window are baked into the GGUF as audio.mel_filters / audio.mel_window.
  2. Quantised variants are produced by crispasr-quantize (the same llama.cpp-style quantiser used for the other GGUF releases in this family).
  3. Inference is implemented in src/qwen3_asr.{h,cpp}: the encoder and the LLM each run as one ggml graph, with a persistent F32 KV cache (head_dim, max_ctx, n_kv_heads, n_layers) shared between prefill and per-token decode steps.

Reference implementation

predict-woo/qwen3-asr.cpp (MIT) was read for architecture discovery and tensor name mapping. No source code was vendored — the CrispASR runtime is a re-implementation in this repo's existing FastConformer / cohere-style ggml infrastructure, sharing structures with the four other ASR runtimes in the family.

Supported languages

ar cs da de el en es fa fi fil fr hi hu id it ja ko mk ms nl pl pt ro ru sv th tr vi yue zh plus 22 Chinese dialects (auto-detected at inference time).

Attribution

Related

- cstr/cohere-transcribe-03-2026-GGUF — Cohere Transcribe 2B (Open ASR Leaderboard #1)

- cstr/parakeet-tdt-0.6b-v3-GGUF — Parakeet TDT 600M (free word timestamps)

- cstr/canary-1b-v2-GGUF — Canary 978M (speech translation)

- cstr/canary-ctc-aligner-GGUF — universal multilingual forced aligner

License

Apache-2.0, inherited from the base model.

Provenance and EU AI Act Art. 53 note

  • Upstream model: Qwen/Qwen3-ASR-0.6B — published by Qwen.
  • Upstream licence: apache-2.0. This repository redistributes under the same terms; it grants no rights the upstream licence does not.
  • What was done here: format conversion and/or quantisation only (GGUF/GGML). No training, no fine-tuning, no merging, no distillation, no change to architecture, vocabulary or capability. Only the numeric representation of the upstream weights differs.
  • Training data: documented — where it is documented at all — by the upstream provider; see the upstream model card. No training data was used, added or selected by this repository.
  • Provider status: under Regulation (EU) 2024/1689 the upstream authors remain the provider of this model. Converting the serialisation format does not make this repository the provider of a new general-purpose AI model, and no such claim is made. Questions about training content, copyright policy or model capability belong upstream.

Run cstr/qwen3-asr-0.6b-GGUF with guIDE

Download guIDE — the AI-native code editor with local LLM inference and 69 built-in tools.

Download guIDE → · Browse 524k+ models · Compare models

Source: Hugging Face · Compare models