This is a compressed and distillation-refined version of
Qwen/Qwen3-ASR-0.6B.
The model applies
INT8 SmoothQuant post-training quantization followed by
Quantization-Aware Distillation (QAD) to recover accuracy lost during compression — while preserving low-latency, low-memory inference.
The QAD stage teaches the quantized student to match the teacher's output distribution on diverse real-world speech, without requiring any manual transcription labels.
1import soundfile as sf
2import numpy as np
3import torch
4import modelopt.torch.opt as mto
5from qwen_asr import Qwen3ASRModel
6
7# Enable ModelOpt quantization state restore
8mto.enable_huggingface_checkpointing()
9
10model = Qwen3ASRModel.from_pretrained(
11 "vrfai/Qwen3-ASR-0.6B-int8-QAD",
12 dtype=torch.float16,
13 device_map="cuda:0",
14 max_new_tokens=256,
15)
16
17audio, sr = sf.read("your_audio.wav")
18if audio.ndim > 1:
19 audio = audio.mean(axis=1)
20audio = audio.astype(np.float32)
21
22results = model.transcribe(audio=(audio, sr), language=None)
23print(results[0].text)
1@misc{qwen3asr2025,
2 title = {Qwen3-ASR},
3 author = {Qwen Team},
4 year = {2025},
5 url = {https://huggingface.co/Qwen/Qwen3-ASR-0.6B}
6}
The recipes and scripts used to quantize this model can be found in the following repository: