C10X
/

Add custom Qwen2.5 chat template with reasoning and XML tools

#1
by C10X - opened

Adds a text-only Qwen2.5 ChatML template with optional reasoning preservation and XML-style tool calls. The template is provided both as chat_template.jinja and inside tokenizer_config.json for compatibility across Transformers versions. Basic chat, thinking-prompt, and tool rendering are validated before upload.

Cannot merge
This branch has merge conflicts in the following files:
  • chat_template.jinja
  • tokenizer_config.json

Sign up or log in to comment