
froggeric/Qwen-Fixed-Chat-Templates · Hugging Face
We’re on a journey to advance and democratize artificial intelligence through open source and open science.
Developers and AI practitioners running local LLMs, particularly those using Qwen models for coding and knowledge work who want to optimize token efficiency and reduce inference time
This repository provides a drop-in chat template for Qwen 3.5, 3.6, and 3.8 models that appends an 11-line terseness prompt to froggeric's Qwen-Fixed-Chat-Templates v22.1.
The template reduces thinking tokens and output padding while preserving accuracy, and enables thinking retention to avoid loops and improve cache hits across turns. Installation supports MLX, transformers, GGUF, oMLX, and llama.cpp via a single chat_template.jinja file or embedded template rewrite.