[GH-ISSUE #99] How to extended window size during train step2? #85

Open
opened 2026-10-26 21:03:15 +00:00 by bsakaguchi · 2 comments
Owner

Originally created by @jiejie1993 on GitHub (Jan 17, 2024).
Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-Coder/issues/99

https://github.com/deepseek-ai/DeepSeek-Coder#model-training descibe "Further Pre-training using an extended 16K window size on an additional 200B tokens", How to extend the window size during training? Just modify max_length and max_position_embeddings in the “config.json” file? or what I need to do?

Originally created by @jiejie1993 on GitHub (Jan 17, 2024). Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-Coder/issues/99 `https://github.com/deepseek-ai/DeepSeek-Coder#model-training` descibe "Further Pre-training using an extended 16K window size on an additional 200B tokens", How to extend the window size during training? Just modify max_length and max_position_embeddings in the “config.json” file? or what I need to do?
Author
Owner

@guoday commented on GitHub (Jan 30, 2024):

please check our technical report. https://arxiv.org/pdf/2401.14196.pdf

<!-- gh-comment-id:1915937755 --> @guoday commented on GitHub (Jan 30, 2024): please check our technical report. https://arxiv.org/pdf/2401.14196.pdf
Author
Owner

@tangbo-sh commented on GitHub (Jul 9, 2024):

The technical report shows that only 8B data is used to train the long context, while the readme shows that 200B is trained on the 16K window. So I am a little confused here. If the pretrain truncation does have 200B data for 16K window training, then when was the base frequency and scaling factor of the rope modified? Thank you.

Content in the technical report: "The model underwent an additional
1000 steps of training, using a batch size of 512 and a sequence length of 16K. "

@guoday

<!-- gh-comment-id:2216706591 --> @tangbo-sh commented on GitHub (Jul 9, 2024): The technical report shows that only 8B data is used to train the long context, while the readme shows that 200B is trained on the 16K window. So I am a little confused here. If the pretrain truncation does have 200B data for 16K window training, then when was the base frequency and scaling factor of the rope modified? Thank you. Content in the technical report: "The model underwent an additional 1000 steps of training, using a batch size of 512 and a sequence length of 16K. " @guoday
Sign in to join this conversation.
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-Coder#85
No description provided.