Skip to content

Commit 0ed0b40

Browse files
committed
Update eval_aime_benchmark.py
1 parent 615b0b6 commit 0ed0b40

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scripts/eval_aime_benchmark.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ def get_llm_response(problem: str, model: str, analyze_logits: bool = False, ext
311311
messages=[
312312
{"role": "user", "content": SYSTEM_PROMPT + problem}
313313
],
314-
max_tokens=30000,
314+
max_tokens=64000,
315315
**kwargs
316316
)
317317

@@ -932,9 +932,9 @@ def main(model: str, n_attempts: int, year: int = 2024, analyze_thoughts: bool =
932932
main(args.model, args.n, args.year, args.analyze_thoughts, args.analyze_logits,
933933
test_time_compute=True, approach_name=approach_slug, extra_body=extra_body)
934934
else:
935-
# Handle approach parameter
936-
extra_body = {"optillm_approach": args.approach} if args.approach else None
937-
approach_name = args.approach if args.approach else None
935+
# Handle approach parameter - only set extra_body if approach is not "none"
936+
extra_body = {"optillm_approach": args.approach} if args.approach and args.approach != "none" else None
937+
approach_name = args.approach if args.approach and args.approach != "none" else None
938938

939939
main(args.model, args.n, args.year, args.analyze_thoughts, args.analyze_logits,
940940
approach_name=approach_name, extra_body=extra_body)

0 commit comments

Comments
 (0)