mirror of
https://github.com/deepseek-ai/DeepSeek-R1.git
synced 2026-11-05 00:47:42 +00:00
[GH-ISSUE #579] 输出停不下来怎么办 #464
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#464
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 @Painkillerzzz on GitHub (Mar 18, 2025).
Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-R1/issues/579
使用transformers库本地推理,do_sample关掉
输入:
模型输出了8096个token之后还没有出现```python...,请问有没有什么解决办法?还是我使用得不太对?
@Painkillerzzz commented on GitHub (Mar 18, 2025):
模型使用的是DeepSeek-R1-Distill-Llama-8B
@ElementQi commented on GitHub (Mar 18, 2025):
试一试temperature=0.6,top_p=0.95。
要么再加长一点output token length
---原始邮件---
发件人: "Xiangyu @.>
发送时间: 2025年3月18日(周二) 上午9:49
收件人: @.>;
抄送: @.***>;
主题: Re: [deepseek-ai/DeepSeek-R1] 输出停不下来怎么办 (Issue #579)
模型使用的是DeepSeek-R1-Distill-Llama-8B
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>
Painkillerzzz left a comment (deepseek-ai/DeepSeek-R1#579)
模型使用的是DeepSeek-R1-Distill-Llama-8B
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>
@Painkillerzzz commented on GitHub (Mar 18, 2025):
第二点我会试一试,但第一点我是想拿到greedy(deterministic)的结果,所以不太能把temperature调上去
@Painkillerzzz commented on GitHub (Mar 18, 2025):
有没有可能是我没遵循官方的prompt模板,这个影响有这么大吗
@CC605 commented on GitHub (Apr 14, 2025):
你好,问题解决了吗,我这里也是重复内容输出,导致无法停下来
@Painkillerzzz commented on GitHub (Apr 14, 2025):
并没有,可能rm只能类似temperature=0.6,top_p=0.95来采样,不支持greedy?因此我就没有再往下尝试了qwq
@github-actions[bot] commented on GitHub (May 15, 2025):
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe this issue is still relevant, please leave a comment to keep it open. Thank you for your contributions!
@github-actions[bot] commented on GitHub (Jun 11, 2025):
false