mirror of
https://github.com/deepseek-ai/DeepSeek-R1.git
synced 2026-11-05 00:47:42 +00:00
[GH-ISSUE #695] 分词器model_max_length为16384,而上下文最大131072 #569
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#569
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 @AlanYue2023 on GitHub (Jun 19, 2025).
Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-R1/issues/695
使用transformer加载deepseek-r1-32b的分词器,统计一段文本分词后token数量,遇到序列超过16384的报错,我看tokenizer_config.json里model_max_length:16384,但是deepseek不是支持131k序列长度吗,config.json里有"max_position_embeddings": 131072,请问可以修改model_max_length为131072吗?会不会有什么影响?
@AlanYue2023 commented on GitHub (Jun 19, 2025):
@github-actions[bot] commented on GitHub (Jul 22, 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 (Aug 7, 2025):
false