Downloads · 30 days
26
5% of all-time downloads
Aye10032/Qwen3-ASR-Refiner-4B
Qwen3-ASR-Refiner-4B is a text generation model from Aye10032. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
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 Aye…
Downloads · 30 days
26
5% of all-time downloads
All-time downloads
544
Public
Parameters
4B
8.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors8 GB · 100%
From the Hugging Face model README
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.
| 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.
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.