Language has been configured to Chinese, but "thinking" outputs are still in English
Problem
Language has been configured to Chinese, but "thinking" outputs are still in English. Example is as bellow:
Proposed solution
Alternatives considered
Additional context
thank you so much - will work on editing the prompt file to make this correct!
I've experienced the opposite, so I know how strange and unsettling it is!!
thank you so much - will work on editing the prompt file to make this correct!
I've experienced the opposite, so I know how strange and unsettling it is!!
I have the opposite view on the proposal English can reduce token consumption Configuring a local translation model seems to be a better option Dsv4 seems to be more inclined to use English thought chains than v3 and r1 There's nothing wrong with that in programming. 我对该提议持相反观点 英语更能减少token消耗 配置本地翻译模型似乎是更好的选择 dsv4相较于v3andr1似乎更偏向与使用英语思维链 这在编程中没什么不好的
Currently, in use, the model can naturally use the English thought chain to think and interact with users in Chinese. There is nothing wrong with that 目前在使用中 模型已经能很自然的使用英语思维链思考 并用中文与用户交互 这没什么不对的
thank you so much - will work on editing the prompt file to make this correct!非常感谢——我会努力编辑提示文件,让它更正确! I've experienced the opposite, so I know how strange and unsettling it is!!我经历过相反的情况,所以我知道这有多奇怪和令人不安!!
I have the opposite view on the proposal我对这个提议持相反的看法 English can reduce token consumption英语可以减少代币消耗 Configuring a local translation model seems to be a better option配置本地翻译模型似乎是更好的选择 Dsv4 seems to be more inclined to use English thought chains than v3 and r1《黑暗之魂4》似乎更倾向于使用英文思维链,而非第三版和第一版 There's nothing wrong with that in programming.编程中这没什么问题。 我对该提议持相反观点 英语更能减少token消耗 配置本地翻译模型似乎是更好的选择 dsv4相较于v3andr1似乎更偏向与使用英语思维链 这在编程中没什么不好的
Currently, in use, the model can naturally use the English thought chain to think and interact with users in Chinese. There is nothing wrong with that目前,模型可以自然地利用英语思维链来思考和与中文用户互动。这没什么问题 目前在使用中 模型已经能很自然的使用英语思维链思考 并用中文与用户交互 这没什么不对的
I agree. There is no problem with using English to showcase the thinking process, and using the language chosen by the user, such as Chinese, is sufficient for outputting the results to the user.
@Hmbown 或许做i18n的时候将提示词模板也纳入进去能解决这个问题?
crates/tui/src/prompts/base.md
crates/tui/src/prompts/base.zh_CN.md
...
We can use propmts like "please use Chinese when printing in thinking" like this:
then it will use Chinese in the later thinking:
It is the same with "trae sole MTC":
Maybe it is the perference of LLM to print thinking in english. Any method letting LLM remember it forever?
Is "Default System Prompt" a good idea?
Default System Prompt like "Ans:EN, Reason:ZH."
这个问题已经解决了,更新到0.8.32的版本即可,官方接受了我的pr。开启翻译模式即可。这样就可以英文思考,中文显示,不影响思考语料的污染,仅仅是显示的时候,展示目标语言即可。
Closing during v0.8.59 milestone hygiene: this class was addressed after v0.8.32 via translation/prompt-language handling, and current code carries tests/comments for the #1118 behavior. Please reopen as a fresh current-release repro if needed.