Skip to content

Commit e5f27a9

Browse files
committed
fix(generate): update the identifier for o1 and o3
1 parent 24e42d1 commit e5f27a9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

bigcodebench/generate.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,8 @@ def run_codegen(
189189
)
190190

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

194196
target_path = os.path.join(root, identifier)

0 commit comments

Comments
 (0)