mirror of
https://github.com/deepseek-ai/DeepSeek-Coder.git
synced 2026-11-05 00:57:19 +00:00
[GH-ISSUE #5] Reproducing HumanEval scores #1
Labels
No labels
documentation
ENV
pull-request
research question
WIP
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/DeepSeek-Coder#1
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 @ganler on GitHub (Nov 2, 2023).
Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-Coder/issues/5
Hi thanks for the great work.
I have just evaluated the 33b base model on both HumanEval and HumanEval+. However, there is a certain gap between the claimed 56.1% pass@1 from https://github.com/deepseek-ai/DeepSeek-Coder#2-evaluation-results and my regenerated 51.2%. I am curious if there is anything that I misimplemented for
DeepSeek-Coder? We were usingtorch.bfloat16and the default prompt from HumanEval. Meanwhile, I am using greedy decoding with top_p=0.95 and top_k=None.@ganler commented on GitHub (Nov 2, 2023):
An interesting finding tho: https://evalplus.github.io/leaderboard.html
From our independent evaluation, codellama-34b is a bit stronger than deepseekcoder-33b on the original HumanEval but instead on HumanEval+ deepseekcoder-33b is found to be better, indicating deepseekcoder is producing more robust code (i.e., HumanEval+ adds more test-cases for HumanEval whose tests might be insufficient for showing the correctness).
@ganler commented on GitHub (Nov 2, 2023):
BTW, could you indicate the instruction that is used for the
deepseek-ai/deepseek-coder-33b-instructon HumanEval? Thanks!@ganler commented on GitHub (Nov 2, 2023):
Update: I am able to get the following result using the prompt here and some post cleaning to make all produced compilable:
@SivilTaram commented on GitHub (Nov 3, 2023):
@ganler
If following the exact same evaluation setting with bigcode-evaluation-harness, I can obtain the following pass@1 results for the 33B model as below:
Considering that the slightly different operations during post-processing, I think the claimed pass@1 should be reproducible.
@ganler commented on GitHub (Nov 3, 2023):
@SivilTaram Thanks for the reference! I think these results are all possible by a better/optimal generation/inference parameters (e.g., we use
bf16and your config is callingfp32; our max generation length is 512 while yours is larger; etc.) since I believe our post-processing is robust as only two output solutions from deepseek-coder are not compilable (and we manually checked it is due to infinite enumeration of outputs) while the rest all look good.Anyways,I also get a copy of the author-provided solutions (thanks to the authors!) which can produce the claimed results:
I will close the issue as I don't have further questions. Thanks for the attention and the great work! :)