Qwen3-ASR-Lyrics-Viet
Overview
Introduction
These models (sunbv56/Qwen3-ASR-0.6B-Lyrics-Viet and sunbv56/Qwen3-ASR-1.7B-Lyrics-Viet) are fine-tuned versions of the original Qwen3-ASR models. They have been fine-tuned using LoRA on a dataset of 50,000 Vietnamese music samples to specialize in accurately transcribing Vietnamese lyrics. While they retain the powerful capabilities of the original models, they are heavily optimized for Vietnamese singing voices, speech, and songs with BGM.
Note on model size: After fine-tuning, the overall parameter count of the base models has increased. The 0.6B model has grown to approximately 0.8B parameters, and the 1.7B model has grown to approximately 2B parameters.
Fine-Tuning Performance on Vietnamese Lyrics
| Model Name | WER (%) Case-Sensitive | WER (%) Lowercase | CER (%) Case-Sensitive | CER (%) Lowercase |
|---|---|---|---|---|
| Qwen3-ASR-0.6B-Base | 41.76 | 29.45 | 19.86 | 16.3 |
| Qwen3-ASR-0.6B-Lyrics-Viet | 29.19 | 24.91 | 15.98 | 14.74 |
| Qwen3-ASR-1.7B-Base | 34.28 | 21.27 | 15.61 | 12.04 |
| Qwen3-ASR-1.7B-Lyrics-Viet | 24.57 | 19.26 | 13.19 | 11.72 |
1.7B update (2026-11-24): retrained with a training bug fix
The sunbv56/Qwen3-ASR-1.7B-Lyrics-Viet weights were replaced on 2026-11-24. The earlier weights were trained with a prompt-format and padding-side bug that made fine-tuning much less effective. The new weights were retrained with the fix (LoRA r=8 on q/k/v/o, 2 epochs over 52,097 training chunks, merged into the base model). The table above describes the earlier weights and the 0.6B model, which has not been retrained yet.
Results on a held-out set of 596 chunks from 202 songs that share no song (title + artist) with the training set, lowercase, punctuation removed, language="Vietnamese":
| Model | WER (%) | CER (%) |
|---|---|---|
| Qwen3-ASR-1.7B (base) | 25.05 | 16.25 |
| 1.7B-Lyrics-Viet, earlier weights | 23.59 | 15.73 |
| 1.7B-Lyrics-Viet, current weights | 18.90 | 12.51 |
Notes:
- The earlier weights were trained on data that included these evaluation songs, so their score here is optimistic.
- These numbers are not comparable with the table above, which used a different evaluation set and normalization.
- About a quarter of the evaluation chunks have reference lyrics that run past the end of the audio clip, which inflates WER for every model. On the remaining 446 chunks the WER is 20.84 (base), 19.56 (earlier weights) and 14.75 (current weights).
- Always pass
language="Vietnamese"with the current 1.7B weights. Language auto-detection (language=None) is not supported by this fine-tune: in testing it produced spurious English prefixes or translations (WER 67% on the same set). For songs that are mostly in another language, use the base model. - Earlier weights remain available in the repository history (revision
c8f69d7e).
Here are the main features of the Qwen3-ASR family:
-
All-in-one: Qwen3-ASR-1.7B and Qwen3-ASR-0.6B support language identification and speech recognition for 30 languages and 22 Chinese dialects, so as to English accents from multiple countries and regions.
-
Excellent and Fast: The Qwen3-ASR family ASR models maintains high-quality and robust recognition under complex acoustic environments and challenging text patterns. Qwen3-ASR-1.7B achieves strong performance on both open-sourced and internal benchmarks. While the 0.6B version achieves accuracy-efficient trade-off, it reaches 2000 times throughput at a concurrency of 128. They both achieve streaming / offline unified inference with single model and support transcribe long audio.
-
Novel and strong forced alignment Solution: We introduce Qwen3-ForcedAligner-0.6B, which supports timestamp prediction for arbitrary units within up to 5 minutes of speech in 11 languages. Evaluations show its timestamp accuracy surpasses E2E based forced-alignment models.
-
Comprehensive inference toolkit: In addition to open-sourcing the architectures and weights of the Qwen3-ASR series, we also release a powerful, full-featured inference framework that supports vLLM-based batch inference, asynchronous serving, streaming inference, timestamp prediction, and more.
Model Architecture
Released Models Description and Download
Below is an introduction and download information for the Qwen3-ASR models. Please select and download the model that fits your needs.
| Model | Supported Languages | Supported Dialects | Inference Mode | Audio Types |
|---|---|---|---|---|
| Qwen3-ASR-1.7B & Qwen3-ASR-0.6B | Chinese (zh), English (en), Cantonese (yue), Arabic (ar), German (de), French (fr), Spanish (es), Portuguese (pt), Indonesian (id), Italian (it), Korean (ko), Russian (ru), Thai (th), Vietnamese (vi), Japanese (ja), Turkish (tr), Hindi (hi), Malay (ms), Dutch (nl), Swedish (sv), Danish (da), Finnish (fi), Polish (pl), Czech (cs), Filipino (fil), Persian (fa), Greek (el), Hungarian (hu), Macedonian (mk), Romanian (ro) | Anhui, Dongbei, Fujian, Gansu, Guizhou, Hebei, Henan, Hubei, Hunan, Jiangxi, Ningxia, Shandong, Shaanxi, Shanxi, Sichuan, Tianjin, Yunnan, Zhejiang, Cantonese (Hong Kong accent), Cantonese (Guangdong accent), Wu language, Minnan language. | Offline / Streaming | Speech, Singing Voice, Songs with BGM |
| Qwen3-ForcedAligner-0.6B | Chinese, English, Cantonese, French, German, Italian, Japanese, Korean, Portuguese, Russian, Spanish | -- | NAR | Speech |
During model loading in the qwen-asr package or vLLM, model weights will be downloaded automatically based on the model name. However, if your runtime environment does not allow downloading weights during execution, you can use the following commands to manually download the model weights to a local directory:
# Download through Hugging Face
pip install -U "huggingface_hub[cli]"
huggingface-cli download sunbv56/Qwen3-ASR-1.7B-Lyrics-Viet --local-dir ./Qwen3-ASR-1.7B
huggingface-cli download sunbv56/Qwen3-ASR-0.6B-Lyrics-Viet --local-dir ./Qwen3-ASR-0.6B
huggingface-cli download Qwen/Qwen3-ForcedAligner-0.6B --local-dir ./Qwen3-ForcedAligner-0.6B
Quickstart
Environment Setup
The easiest way to use Qwen3-ASR is to install the qwen-asr Python package from PyPI. This will pull in the required runtime dependencies and allow you to load any released Qwen3-ASR model. If you’d like to simplify environment setup further, you can also use our official Docker image. The qwen-asr package provides two backends: the transformers backend and the vLLM backend. For usage instructions for different backends, please refer to Python Package Usage. We recommend using a fresh, isolated environment to avoid dependency conflicts with existing packages. You can create a clean Python 3.12 environment like this:
conda create -n qwen3-asr python=3.12 -y
conda activate qwen3-asr
Run the following command to get the minimal installation with transformers-backend support:
pip install -U qwen-asr
To enable the vLLM backend for faster inference and streaming support, run:
pip install -U qwen-asr[vllm]
If you want to develop or modify the code locally, install from source in editable mode:
git clone https://github.com/QwenLM/Qwen3-ASR.git
cd Qwen3-ASR
pip install -e .
# support vLLM backend
# pip install -e ".[vllm]"
Additionally, we recommend using FlashAttention 2 to reduce GPU memory usage and accelerate inference speed, especially for long inputs and large batch sizes.
pip install -U flash-attn --no-build-isolation
If your machine has less than 96GB of RAM and lots of CPU cores, run:
MAX_JOBS=4 pip install -U flash-attn --no-build-isolation
Also, you should have hardware that is compatible with FlashAttention 2. Read more about it in the official documentation of the FlashAttention repository. FlashAttention 2 can only be used when a model is loaded in torch.float16 or torch.bfloat16.
Python Package Usage
Quick Inference
The qwen-asr package provides two backends: transformers backend and vLLM backend. You can pass audio inputs as a local path, a URL, base64 data, or a (np.ndarray, sr) tuple, and run batch inference. To quickly try Qwen3-ASR, you can use Qwen3ASRModel.from_pretrained(...) for the transformers backend with the following code:
import torch
from qwen_asr import Qwen3ASRModel
model = Qwen3ASRModel.from_pretrained(
"sunbv56/Qwen3-ASR-1.7B-Lyrics-Viet",
dtype=torch.bfloat16,
device_map="cuda:0",
# attn_implementation="flash_attention_2",
max_inference_batch_size=32, # Batch size limit for inference. -1 means unlimited. Smaller values can help avoid OOM.
max_new_tokens=256, # Maximum number of tokens to generate. Set a larger value for long audio input.
)
results = model.transcribe(
audio="https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen3-ASR-Repo/asr_en.wav",
language="Vietnamese", # keep "Vietnamese": auto-detection (None) is not supported by the fine-tuned 1.7B weights
)
print(results[0].language)
print(results[0].text)
Evaluation
During evaluation, we ran inference for all models with dtype=torch.bfloat16 and set max_new_tokens=1024 using vLLM. Greedy search was used for all decoding, and none of the tests specified a language parameter. The detailed evaluation results are shown below.
Citation
If you find our paper and code useful in your research, please consider giving a star :star: and citation :pencil: :)
@article{Qwen3-ASR,
title={Qwen3-ASR Technical Report},
author={Xian Shi, Xiong Wang, Zhifang Guo, Yongqi Wang, Pei Zhang, Xinyu Zhang, Zishan Guo, Hongkun Hao, Yu Xi, Baosong Yang, Jin Xu, Jingren Zhou, Junyang Lin},
journal={arXiv preprint arXiv:2601.21337},
year={2026}
}