Downloads · 30 days
28
11% of all-time downloads
vrfai/Qwen3-ASR-0.6B-int4-QAD
Qwen3-ASR-0.6B-int4-QAD is a automatic speech recognition model from vrfai. Use it when you need speech turned into text. The card lists the license as apache-2.0.
This is a compressed and distillation-refined version of Qwen/Qwen3-ASR-0.6B. The model applies INT4 AWQ (Activation-aware Weight Quantization) post-training quantization followed by Quantization-Aware Distillation (Q…
Downloads · 30 days
28
11% of all-time downloads
All-time downloads
265
Public
Parameters
942M
1.9 GB on disk
Likes
4
Public
Click a slice to open those files.
.safetensors1.9 GB · 99%
How the weights are stored.
BF16938M · 100%
From the Hugging Face model README
This is a compressed and distillation-refined version of Qwen/Qwen3-ASR-0.6B.
The model applies INT4 AWQ (Activation-aware Weight Quantization) post-training quantization followed by Quantization-Aware Distillation (QAD) to recover accuracy lost during aggressive 4-bit compression — while preserving low-latency, low-memory inference.
The base FP16 model is quantized to INT4 using the AWQ (awq_full) algorithm via NVIDIA ModelOpt. To preserve acoustic feature extraction and final token prediction integrity, the audio_tower and lm_head are explicitly excluded from quantization and kept in FP16. Calibration was performed dynamically across English, Chinese, and 28 other languages to ensure a balanced quantization scale mapping.
To close the accuracy gap introduced by heavy 4-bit quantization, we apply a knowledge distillation fine-tuning stage where:
alpha_kd = 0.5) and cross-entropy loss| Model | VIVOS (Viet) WER ↓ | LibriSpeech (Eng) WER ↓ | Chinese Fleurs CER ↓ |
|---|---|---|---|
| Teacher 1.7B (FP16 base) | 7.24% | 2.32% | 7.12% |
| INT4 AWQ (pre-QAD) | 14.34% | 3.47% | 8.16% |
| INT4 + QAD (this model) | 12.81% | 3.41% | 8.10% |
QAD successfully recovers ~1.53% absolute WER in Vietnamese and stabilizes English/Chinese performance against aggressive 4-bit compression degradation, with no additional labeled data required.
Install dependencies:
pip install qwen-asr nvidia-modelopt soundfile numpy
Run inference:
import soundfile as sf
import numpy as np
import torch
import modelopt.torch.opt as mto
from qwen_asr import Qwen3ASRModel
# Enable ModelOpt quantization state restore
mto.enable_huggingface_checkpointing()
model = Qwen3ASRModel.from_pretrained(
"vrfai/Qwen3-ASR-0.6B-int4-QAD",
dtype=torch.float16,
device_map="cuda:0",
max_new_tokens=256,
)
audio, sr = sf.read("your_audio.wav")
if audio.ndim > 1:
audio = audio.mean(axis=1)
audio = audio.astype(np.float32)
results = model.transcribe(audio=(audio, sr), language=None)
print(results[0].text)
| Property | Value |
|---|---|
| Base model | Qwen/Qwen3-ASR-0.6B |
| Parameters | ~0.6B |
| Quantization | INT4 AWQ (awq_full via NVIDIA ModelOpt) |
| Audio encoder | Frozen (FP16, not quantized) |
| LM head | Frozen (FP16, not quantized) |
| Quantized scope | Transformer decoder layers |
| Distillation data | Multilingual unlabeled speech (30 languages) |
| License | Apache 2.0 |
If you use this model, please also cite the original Qwen3-ASR work:
@misc{qwen3asr2025,
title = {Qwen3-ASR},
author = {Qwen Team},
year = {2025},
url = {[https://huggingface.co/Qwen/Qwen3-ASR-0.6B](https://huggingface.co/Qwen/Qwen3-ASR-0.6B)}
}
The recipes and scripts used to quantize this model can be found in the following repository: