Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
allowing extra_info to be passed in for more advance compute_score
  • Loading branch information
maksimstw authored Feb 13, 2025
1 parent eada848 commit 5b2317c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion verl/utils/reward_score/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# from . import gsm8k, math, prime_math, prime_code


def _default_compute_score(data_source, solution_str, ground_truth):
def _default_compute_score(data_source, solution_str, ground_truth, extra_info):
if data_source == 'openai/gsm8k':
from . import gsm8k
res = gsm8k.compute_score(solution_str, ground_truth)
Expand Down

0 comments on commit 5b2317c

Please sign in to comment.