KrillinAI icon indicating copy to clipboard operation
KrillinAI copied to clipboard

建议增加推理模型兼容,删除推理标签

Open xldistance opened this issue 8 months ago • 2 comments

类似于python的写法

            # 删除推理标签
            translated_result = re.sub(r'<think>.*?</think>', '', translated_raw_result, flags=re.DOTALL).strip()

xldistance avatar Apr 11 '25 05:04 xldistance

Do not need this. For translation purpose, normal LLM is enough. Thinking model is slow and expensive

OutisLi avatar Apr 11 '25 15:04 OutisLi

This PR #104 solved this

OutisLi avatar Apr 12 '25 06:04 OutisLi