Skip to content

Commit 57a4a3c

Browse files
committed
add r1 reasoning effort
1 parent 092c5a3 commit 57a4a3c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bigcodebench/generate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ def run_codegen(
189189
)
190190

191191
extra = "-" + subset if subset != "full" else ""
192-
if reasoning_effort and model.startswith("o1-") or model.startswith("o3-"):
192+
if reasoning_effort and model.startswith("o1-") or model.startswith("o3-") or model.endswith("-reasoner"):
193193
model = model + f"--{reasoning_effort}"
194194
identifier = model.replace("/", "--") + f"--{revision}--bigcodebench{extra}-{split}--{backend}-{temperature}-{n_samples}-sanitized_calibrated.jsonl"
195195

0 commit comments

Comments
 (0)