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
[feat request] llama.cpp --reasoning-preserve
Could you add the alias preserve_reasoning to preserve_thinking, to make it compatible with llama.cpp --reasoning-reserve command line arg?
Huh, that's weird. we used to have --chat-template-kwargs "{\"preserve_thinking\":true}" but that doesnt seem like an argument there in the sourcecode. i wonder if they renamed it to reasoning now?
Huh, that's weird. we used to have
--chat-template-kwargs "{\"preserve_thinking\":true}"but that doesnt seem like an argument there in the sourcecode. i wonder if they renamed it to reasoning now?
The preserve_thinking doesn't have to be in llama.cpp code, it's just a template argument and can be named anything.
It's in the template, so the chat-template-kwargswill still work, however llama introduced a server-side flag that they want to impose onto chat templates so you don't use chat-template-kwargs and use a more "generic" --reasoning-preserve that should work on all models (if their template implements that).