[GH-ISSUE #43] DeepSeek-MoE长度外推性的来源 #40

Closed
opened 2026-10-26 21:02:00 +00:00 by bsakaguchi · 0 comments
Owner

Originally created by @Sawyer117 on GitHub (Jan 17, 2025).
Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-MoE/issues/43

您好,因为我看到模型代码里其实实现了另外两种ROPE变体,但是在hugginface里的模型参数文件中,"rope_scaling": null
想请教下为何是null呢?是null也就是说只会调用原始的ROPE而不是序列外推优化的ROPE。

Image

就此我想请教一下DeepSeek-MoE模型长度外推性的来源,我也没有在论文里看到有训练中序列扩展之类的,请问下长度外推性是完全依赖于ROPE么?感谢!(对了我这么问是因为看到v3里好像用了yarn,但是为何之前这边好像没有对序列扩展做任何变动呢?是因为发现DynamicNTKScaling和LinearScaling效果不行么?)

Originally created by @Sawyer117 on GitHub (Jan 17, 2025). Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-MoE/issues/43 您好,因为我看到模型代码里其实实现了另外两种ROPE变体,但是在hugginface里的模型参数文件中,"rope_scaling": null 想请教下为何是null呢?是null也就是说只会调用原始的ROPE而不是序列外推优化的ROPE。 ![Image](https://github.com/user-attachments/assets/43760f4f-2422-4985-b222-ed025152cc15) 就此我想请教一下DeepSeek-MoE模型长度外推性的来源,我也没有在论文里看到有训练中序列扩展之类的,请问下长度外推性是完全依赖于ROPE么?感谢!(对了我这么问是因为看到v3里好像用了yarn,但是为何之前这边好像没有对序列扩展做任何变动呢?是因为发现DynamicNTKScaling和LinearScaling效果不行么?)
Sign in to join this conversation.
No labels
pull-request
WIP
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deepseek-ai/DeepSeek-MoE#40
No description provided.