Instructions to use froggeric/Qwen-Fixed-Chat-Templates with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use froggeric/Qwen-Fixed-Chat-Templates with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir Qwen-Fixed-Chat-Templates froggeric/Qwen-Fixed-Chat-Templates
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
README: qualify the official enable_thinking claim, document sticky inline tags and the string-argument fallback
#90
by gdevenyi - opened
Summary
README-only accuracy fixes, checked against the official templates fetched today.
- "Official Qwen 3.8 template throws a fatal exception if
enable_thinking=false." True forQwen/Qwen3.8-2.4T-A95B(its template hasraise_exception('Disabling thinking is not supported.')). Not true forQwen/Qwen3.8-27B: both revisions of its template (72a217affirst upload and412f8b6bcurrent) acceptenable_thinking=falseand emit the<think>\n\n</think>\n\nprefill. The feature table and the "Why you need this" row now name the 2.4T-A95B template. - Inline tags are sticky. The pre-scan reads every system/developer/user message and the last tag wins, so a
<|think_off|>or<|think_xhigh|>in an early message stays in effect for later turns until another tag replaces it. The README called this "Per-Turn". The table row and the inline-tag section now say that tags persist. (If per-turn is the intended behaviour, the scan would need to look at the last user message only; I left the code alone and documented what it does.) - String tool arguments. A serialized JSON-string
argumentsvalue is rendered verbatim inside<function=...>with no<parameter>tags (no crash, but not the trained shape; Jinja cannot parse JSON). vLLM converts string arguments to dictionaries before rendering, so it always takes the<parameter>path. One sentence added to the XML format bullet.