We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69fbc99 commit 1d3f446Copy full SHA for 1d3f446
bigcode_eval/tasks/humaneval.py
@@ -49,7 +49,7 @@ class GeneralHumanEval(Task):
49
50
def __init__(self, strip_prompt, k=[1, 10, 100], num_workers=16, timeout=3.0):
51
super().__init__(
52
- stop_words=["\nclass", "\ndef", "\n#", "\n@", "\nprint", "\nif", "\n```"],
+ stop_words=["\nclass", "\ndef", "\n#", "\n@", "\nprint", "\nif", "\n```", "<file_sep>"],
53
requires_execution=True,
54
)
55
self.strip_prompt = strip_prompt
0 commit comments