mirror of
https://github.com/deepseek-ai/DeepSeek-R1.git
synced 2026-11-05 00:47:42 +00:00
[GH-ISSUE #436] deepseek r1支持temperature吗? #347
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/DeepSeek-R1#347
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hanhsia on GitHub (Feb 17, 2025).
Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-R1/issues/436
文档中存在自相矛盾的地方:
官方文档里写的是可以设置,但是不起作用:
https://api-docs.deepseek.com/guides/reasoning_model
Reasoning Model (deepseek-reasoner)
Not Supported Parameters:temperature、top_p、presence_penalty、frequency_penalty、logprobs、top_logprobs. Please note that to ensure compatibility with existing software, setting temperature、top_p、presence_penalty、frequency_penalty will not trigger an error but will also have no effect. Setting logprobs、top_logprobs will trigger an error.
但是github中又写需要设置temperature为0.5-0.7
https://github.com/deepseek-ai/DeepSeek-R1
Set the temperature within the range of 0.5-0.7 (0.6 is recommended) to prevent endless repetitions or incoherent outputs.
@deepsicker commented on GitHub (Feb 17, 2025):
https://www.yuque.com/unreal/gpynrn/so9tml5v3dv9x6ra
@Kairo-Dai commented on GitHub (Feb 18, 2025):
推理模型目前会忽略temperature,目前测试0.0和1.0没有区别。
@hanhsia commented on GitHub (Feb 19, 2025):
那为什么https://github.com/deepseek-ai/DeepSeek-R1会写需要设置temperature为0.5-0.7呢?
@mowentian commented on GitHub (Feb 19, 2025):
个人部署可以自由设置 temp