From 3bd8c1d8080bee252a419d0065fd9cdc03165618 Mon Sep 17 00:00:00 2001 From: Lev Kurilenko Date: Thu, 22 Feb 2024 20:04:23 +0000 Subject: [PATCH] Update sed command in README --- evaluation/inference/human_eval/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 . ```