Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Hynek Kydlicek committed Jan 26, 2025
1 parent 70355fc commit 7a37218
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
# * If a dependency is fast-moving (e.g. transformers), pin to the exact version
_deps = [
"accelerate>=1.2.1",
"bitsandbytes",
"bitsandbytes>=0.43.0",
"black>=24.4.2",
"datasets>=3.2.0",
"deepspeed==0.15.4",
Expand Down
1 change: 1 addition & 0 deletions slurm/evaluate.slurm
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ lighteval vllm $MODEL_ARGS "custom|$TASK|0|0" \
--custom-tasks src/open_r1/evaluate.py \
--use-chat-template \
--system-prompt="Please reason step by step, and put your final answer within \boxed{}." \
--save-details
--output-dir $OUTPUT_DIR


Expand Down
4 changes: 2 additions & 2 deletions src/open_r1/evaluate.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ def prompt_fn(line, task_name: str = None):
def aime_prompt_fn(line, task_name: str = None):
return Doc(
task_name=task_name,
query=line["answer"],
choices=[line["solution"]],
query=line["problem"],
choices=[line["answer"]],
gold_index=0,
)

Expand Down

0 comments on commit 7a37218

Please sign in to comment.