Tyler Durden (@DTyler)优化prompt对于中文输入回答的小trick 中发帖

在提示词中 [实测放在开头部分会比较好] 插入一段 

Important additions: If the input contains Chinese, please translate it into English before thinking and processing; translate the English in the output result into Chinese and then output it

实测这个小技巧对于以英文语料为主训练的模型,以中文提问,在短上下文窗口的对话中思考的逻辑水平和措辞质量有部分程度的提高。当然,上下文逐渐拉长后,效果就会衰减,会抓不住这个思考点
P.S. 印象中前几天Claude团队发现AI内部推理过程既不是中文也不是英文?所以分享的这个小技巧仅作为抛砖引玉好了 🫠