Skip to content

Commit

Permalink
Update humaneval.py
Browse files Browse the repository at this point in the history
  • Loading branch information
loubnabnl authored Dec 5, 2023
1 parent 69fbc99 commit 1d3f446
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bigcode_eval/tasks/humaneval.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class GeneralHumanEval(Task):

def __init__(self, strip_prompt, k=[1, 10, 100], num_workers=16, timeout=3.0):
super().__init__(
stop_words=["\nclass", "\ndef", "\n#", "\n@", "\nprint", "\nif", "\n```"],
stop_words=["\nclass", "\ndef", "\n#", "\n@", "\nprint", "\nif", "\n```", "<file_sep>"],
requires_execution=True,
)
self.strip_prompt = strip_prompt
Expand Down

0 comments on commit 1d3f446

Please sign in to comment.