Dream icon indicating copy to clipboard operation
Dream copied to clipboard

Difficulty Reproducing HumanEval Results for Instruct Model

Open AndreHe02 opened this issue 1 year ago • 2 comments

Hi, I’ve been trying to replicate the HumanEval results reported in the paper for the Instruct model, but I’m only achieving around 35% accuracy.

A large fraction of responses (~40%, depending on inference settings) come out empty, consisting entirely of <end_of_text> tokens.

Here are some of the inference settings I’ve tried:

temperature=0.1, top_p=0.9, alg=entropy temperature=0.2, top_p=0.95, alg=entropy temperature=0.1, top_p=0.9, alg=origin temperature=0.5, top_p=0.9, alg=origin temperature=1.0, top_p=0.9, alg=origin

Could you provide guidance on:

  • How to avoid the empty-response issue, and
  • What inference settings were used for the reported HumanEval results?

Thanks!

AndreHe02 avatar Oct 01 '25 20:10 AndreHe02

Hi there! The inference settings we used are available in eval.sh. Such a high rate of empty responses is not expected. Were you able to reproduce our results for the other benchmarks?

zhxieml avatar Oct 03 '25 03:10 zhxieml

Hi there! Changing transformers from 4.46.2 to a newer release (I used 4.53.3) worked for me.

xijia-tao avatar Oct 21 '25 08:10 xijia-tao