abetlen / abetlen/llama-cpp-python

Thinking toggle support for Qwen related models

未关闭
#2,063 10 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
10.6k
派生
1.4k
PR 合并指标
PR 指标待抓取

描述

**Is your feature request related to a problem? Please describe.**
Cannot toggle thinking in Qwen models, when we do it through the user prompt way, it still gives out opening and closing think tags.

**Describe the solution you'd like**
Support for params/ flags like reasoning_budget, chat_template_kwargs parameters.
**Describe alternatives you've considered**
N/A

**Additional context**
This problem has been a long point of discussion in the upstream project (llama.cpp) too and I am hoping for it to trickle down here and have support for it, noting that the PRs have been merged and llama.cpp has controls over thinking now.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。