Skip to content

Commit 2ff547d

Browse files
committed
fix: change prefill to no_prefill
1 parent 746a199 commit 2ff547d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bigcodebench/generate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def run_codegen(
142142
tp: int = 1,
143143
instruction_prefix: str = "Please provide a self-contained Python script that solves the following problem in a markdown code block:",
144144
response_prefix: str ="Below is a Python script with a self-contained function that solves the problem and passes corresponding tests:",
145-
prefill: bool = True,
145+
no_prefill: bool = False,
146146
revision: str = "main",
147147
trust_remote_code: bool = False,
148148
tokenizer_name: str = None,
@@ -175,7 +175,7 @@ def run_codegen(
175175
reasoning_effort=reasoning_effort,
176176
instruction_prefix=instruction_prefix,
177177
response_prefix=response_prefix,
178-
prefill=prefill,
178+
prefill=not no_prefill,
179179
base_url=base_url,
180180
tp=tp,
181181
revision=revision,

0 commit comments

Comments
 (0)