# Spec for the HF README of handy-computer/qwen3-asr-1.7b-gguf.
# Consumed by scripts/hf_cards/generate.py.

hf_repo: Qwen/Qwen3-ASR-1.7B
target_repo: handy-computer/Qwen3-ASR-1.7B-gguf
transcribe_docs_url: https://github.com/handy-computer/transcribe.cpp/blob/main/docs/models/qwen3-asr-1.7b.md

upstream_commit: 7278e1e70fe206f11671096ffdd38061171dd6e5
pin_date: 2026-04-19

# Validation pin for the most recent upload. Updated on each release —
# older HF revisions carry whatever value was current at their upload time.
validation:
  reference: qwen_asr 0.0.6
  commit: 3f61df7
  date: 2026-04-20

license: apache-2.0
license_display: Apache-2.0
pipeline_tag: automatic-speech-recognition
languages:
  - zh
  - en
  - yue
  - ar
  - de
  - fr
  - es
  - pt
  - id
  - it
  - ko
  - ru
  - th
  - vi
  - ja
  - tr
  - hi
  - ms
  - nl
  - sv
  - da
  - fi
  - pl
  - cs
  - fil
  - fa
  - el
  - ro
  - hu
  - mk
tags:
  - gguf
  - transcribe.cpp
  - asr
  - speech-to-text
  - qwen3
  - qwen3-asr
  - multilingual

summary: |
  Offline multilingual speech-to-text. Same audio-LLM architecture as the
  0.6B variant (bidirectional audio encoder feeding a Qwen3 causal LM with
  audio-token injection), wider: encoder `d_model=1024` (16 heads), LM
  `hidden_size=2048`, `intermediate_size=6144`. Auto-detects the audio's
  language across 30 languages and emits the transcript in that language.
  Takes a 16 kHz mono WAV; explicit language hints are not supported at
  this time.

default_quant_index: 2  # Q8_0

# Capability flags for the transcribe_cpp metadata block.
capabilities:
  streaming: false
  translate: false
  lang_detect: true
  timestamps: none  # none | segment | word | token

# Speedup-over-realtime (×RT) per rig/backend, from docs/models; published
# raw as rtf_<machine> in the metadata block.
perf:
  m4-max:
    metal: 39.5
    cpu: 8
  ryzen-4750u:
    vulkan: 3.8
    cpu: 2

wer:
  source: LibriSpeech test-clean
  notes: |
    WER measured on the full LibriSpeech `test-clean` split (2620 English
    utterances) with the Whisper-style English text normalizer and jiwer 3.x,
    on the metal backend of an Apple M4. Qwen3-ASR is a multilingual model —
    this number characterizes the English case only. The larger decoder
    gives 1.7B more quantization headroom than the 0.6B; BF16 / F16 / Q8_0 /
    Q6_K / Q5_K_M are all within bootstrap CI of each other, and Q4_K_M
    regresses only ~0.2 WER points. Reproduce with `scripts/wer/run.py` +
    `scripts/wer/score.py`.

quants:
  - name: BF16
    filename: Qwen3-ASR-1.7B-BF16.gguf
    size: 3.80 GB
    wer: 1.62%
  - name: F16
    filename: Qwen3-ASR-1.7B-F16.gguf
    size: 3.81 GB
    wer: 1.62%
  - name: Q8_0
    filename: Qwen3-ASR-1.7B-Q8_0.gguf
    size: 2.04 GB
    wer: 1.61%
  - name: Q6_K
    filename: Qwen3-ASR-1.7B-Q6_K.gguf
    size: 1.58 GB
    wer: 1.65%
  - name: Q5_K_M
    filename: Qwen3-ASR-1.7B-Q5_K_M.gguf
    size: 1.41 GB
    wer: 1.65%
  - name: Q4_K_M
    filename: Qwen3-ASR-1.7B-Q4_K_M.gguf
    size: 1.23 GB
    wer: 1.81%
