Skip to content

Commit 4a5e2a9

Browse files
committed
add a use_rollout_logprobs args to use rollout logprobs to calaulating is ratio
1 parent 667c40b commit 4a5e2a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

slime/rollout/rm_hub/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ async def async_rm(args, sample: Sample, **kwargs):
4747
elif rm_type == "deepscaler":
4848
return get_deepscaler_rule_based_reward(response, label)
4949
elif rm_type == "dapo":
50-
return compute_score_dapo(response, label)["score"]
50+
return compute_score_dapo(response, label)
5151
elif rm_type == "math":
5252
return 1 if grade_answer_verl(response, label) else 0
5353
elif rm_type == "f1":

0 commit comments

Comments
 (0)