Empty Generations / Failing Reproducing 40% on HumanEval #148
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?
Hi all, I've set up Starcoder as follows:
The stop tokens I'm using are a subset of those found in the Codex paper:
STOP_SEQS = ["\nclass", "\ndef"].Somehow, it looks like I'm consistently getting empty generations however -- just an EOS token. Concretely, around ~20% of my generations are empty on HumanEval.
I'm using the suggested prompt as well, i.e.
"<filename>solutions/solution_1.py\n# Here is the correct implementation of the code exercise\n".I'm getting around 15% on HumanEval, not 40% as stated in the paper. I'm setting
TEMP = 0.2andNEW_TOKENS=128. Would somebody be able to point out what might be going wrong?Can you try again using the framework we used for evaluation: https://github.com/bigcode-project/bigcode-evaluation-harness there's an argument for adding a prefix. In your code it's not clear if you stripped the prompts or not (impacts performance), we also use more stop words
I'm having a similar problem - lots of empty generations on a straightforward prompt from HumanEval. For example, this code:
Just generates this output:
Hi, this prompt is not stripped you need to remove the trailing
\nfor it to work properly. I also just run the code from the harness and it reproduces the reported numbers.