Qwen3 ASR Refiner

Qwen3 ASR Refiner is a family of models that converts Chinese ASR transcripts and other spoken-style text into concise, natural written Chinese while preserving the original meaning. All variants are fine-tuned on Aye10032/WenetSpeech-Formal-Text with the same task definition and training recipe.

Model family

Variant Base model Model repository
0.6B Qwen/Qwen3-0.6B Aye10032/Qwen3-ASR-Refiner-0.6B
1.7B Qwen/Qwen3-1.7B Aye10032/Qwen3-ASR-Refiner-1.7B
4B Qwen/Qwen3-4B Aye10032/Qwen3-ASR-Refiner-4B

The LoRA adapter has been merged into the base model. This repository contains complete BF16 Transformers weights and can be loaded directly without PEFT.

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = 'Aye10032/Qwen3-ASR-Refiner-4B'
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, dtype='auto', device_map='auto')

messages = [
    {
        'role': 'system',
        'content': '将中文口语转写改写为正式、自然的书面语。保持原意,不添加原文没有的信息,只输出改写后的文本。',
    },
    {'role': 'user', 'content': '呃这个事情吧我们之后再讨论一下。'},
]
text = tokenizer.apply_chat_template(
    messages,
    tokenize=False,
    add_generation_prompt=True,
    enable_thinking=False,
)
inputs = tokenizer(text, return_tensors='pt').to(model.device)
outputs = model.generate(**inputs, max_new_tokens=256, do_sample=False)
answer = tokenizer.decode(outputs[0, inputs.input_ids.shape[1]:], skip_special_tokens=True)
print(answer)

The source dataset is licensed under CC BY 4.0. Refer to its dataset card for attribution and citation information.

Downloads last month
204
Safetensors
Model size
4B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Aye10032/Qwen3-ASR-Refiner-4B

Finetuned
Qwen/Qwen3-4B
Finetuned
(1089)
this model

Dataset used to train Aye10032/Qwen3-ASR-Refiner-4B

Collection including Aye10032/Qwen3-ASR-Refiner-4B