diff --git a/evaluation/inference/human_eval/README.md b/evaluation/inference/human_eval/README.md index bb22f4bb4..23852a43e 100644 --- a/evaluation/inference/human_eval/README.md +++ b/evaluation/inference/human_eval/README.md @@ -12,7 +12,7 @@ which requires local changes to `execution.py`. The following steps will setup ` ```bash git clone https://github.com/openai/human-eval.git -sed -i 's/.*# exec(check_program, exec_globals).*/ exec(check_program, exec_globals)/' human-eval/human_eval/execution.py +sed -i '/exec(check_program, exec_globals)/ s/^# //' he_test/human_eval/execution.py cd human-eval python -m pip install -e . ```