Views
No views yet
[!Note]Qwen3-ChatTemplate
A collection of Qwen3 models patched by Dnotitia. These models use the exact same weights as the official Qwen3 release but include updates for better training compatibility:
- Refactored Chat Template: The
chat_templatehas been neatly organized into a separatechat_template.jinjafile.- TRL Compatibility: We have injected
{% generation %}tags into the template to supportassistant_only_lossin the trl library.Currently, we have prioritized patching small-sized models to facilitate efficient training experiments.
transformers and we advise you to use the latest version of transformers.transformers<4.51.0, you will encounter the following error:KeyError: 'qwen3'@misc{qwen3technicalreport,
title={Qwen3 Technical Report},
author={Qwen Team},
year={2025},
eprint={2505.09388},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2505.09388},
}