[GH-ISSUE #9] Impact of repo-level code concat #7

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

Originally created by @feiyuvl on GitHub (Nov 3, 2023).
Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-Coder/issues/9

Very impressive work. Does the repo-level code conact improve humaneval result?

Originally created by @feiyuvl on GitHub (Nov 3, 2023). Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-Coder/issues/9 Very impressive work. Does the repo-level code conact improve humaneval result?
bsakaguchi 2026-10-26 21:02:01 +00:00
Author
Owner

@guoday commented on GitHub (Nov 4, 2023):

In our experiment, repo-level code would slightly hurt performance of benchmark. However, it will enhance long context modeling and repo-level completion.

<!-- gh-comment-id:1793313588 --> @guoday commented on GitHub (Nov 4, 2023): In our experiment, repo-level code would slightly hurt performance of benchmark. However, it will enhance long context modeling and repo-level completion.
Author
Owner

@feiyuvl commented on GitHub (Nov 6, 2023):

@guoday Thanx for your reply. Another question, how many epochs do you train on the 2T tokens dataset?

<!-- gh-comment-id:1793950835 --> @feiyuvl commented on GitHub (Nov 6, 2023): @guoday Thanx for your reply. Another question, how many epochs do you train on the 2T tokens dataset?
Author
Owner

@guoday commented on GitHub (Nov 6, 2023):

4-5 epochs

<!-- gh-comment-id:1793962924 --> @guoday commented on GitHub (Nov 6, 2023): 4-5 epochs
Author
Owner

@feiyuvl commented on GitHub (Nov 6, 2023):

So the total training tokens is about 10T? Amazing

<!-- gh-comment-id:1793968930 --> @feiyuvl commented on GitHub (Nov 6, 2023): So the total training tokens is about 10T? Amazing
Author
Owner

@guoday commented on GitHub (Nov 6, 2023):

No. The total data is about 400-500B. We train the model for 4-5 epochs, resulting 2T.

<!-- gh-comment-id:1793969950 --> @guoday commented on GitHub (Nov 6, 2023): No. The total data is about 400-500B. We train the model for 4-5 epochs, resulting 2T.
Author
Owner

@feiyuvl commented on GitHub (Nov 6, 2023):

This amount is equal to the starcoder dataset. Do you possibly resuse the stack dataset, and apply a more advanced data filter alogrithm, or do you download more code data than stack, and implment more stricted data cleaning algorithms?

<!-- gh-comment-id:1793980194 --> @feiyuvl commented on GitHub (Nov 6, 2023): This amount is equal to the starcoder dataset. Do you possibly resuse the stack dataset, and apply a more advanced data filter alogrithm, or do you download more code data than stack, and implment more stricted data cleaning algorithms?
Author
Owner

@feiyuvl commented on GitHub (Nov 6, 2023):

Deepseek use the repo-level files, so it can't resuse the stack dataset. Which is the key contrbution to this amazing improvment over starcoder, code quaility filtering, second pretraining or something else?

<!-- gh-comment-id:1794079732 --> @feiyuvl commented on GitHub (Nov 6, 2023): Deepseek use the repo-level files, so it can't resuse the stack dataset. Which is the key contrbution to this amazing improvment over starcoder, code quaility filtering, second pretraining or something else?
Author
Owner

@guoday commented on GitHub (Nov 6, 2023):

The primary contributions come from many aspects, including data collection, deduplication, filtering, the total number of tokens for pre-training, and the methods of pre-training. The optimization of each process is essential for enhancing the model. We will analyze this further in our later technical reports.

<!-- gh-comment-id:1794084764 --> @guoday commented on GitHub (Nov 6, 2023): The primary contributions come from many aspects, including data collection, deduplication, filtering, the total number of tokens for pre-training, and the methods of pre-training. The optimization of each process is essential for enhancing the model. We will analyze this further in our later technical reports.
Author
Owner

@feiyuvl commented on GitHub (Nov 6, 2023):

Thank you, looking forward to your technical reports

<!-- gh-comment-id:1794118692 --> @feiyuvl commented on GitHub (Nov 6, 2023): Thank you, looking forward to your technical reports
Author
Owner

@wentinghome commented on GitHub (Jul 31, 2024):

Hey, thanks for the great work! can you share the script of dependency parsing and repo level dedup?

<!-- gh-comment-id:2261148750 --> @wentinghome commented on GitHub (Jul 31, 2024): Hey, thanks for the great work! can you share the script of dependency parsing and repo level dedup?
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#7
No description provided.