verl icon indicating copy to clipboard operation
verl copied to clipboard

typo in prime_dp_rm.py

Open zhengqigao opened this issue 1 year ago • 2 comments

Should be

token_level_score[i, max_positions[i] - 1] = r[i, max_positions[i]]

in Line 146 of prime_dp_rm.py?

zhengqigao avatar Apr 29 '25 21:04 zhengqigao

I reviewed the code of PRIME

for i, step_end in enumerate(step_ends):
    for j in range(len(step_end)):
        step_range = [min(step_end[j - 1] + 1, response_length - 1) if j > 0 else 0,
                                  min(response_length - 1, step_end[j])]
        token_level_score[i, step_range[1]] = q[i, step_range[0]:step_range[1] + 1].sum()

From this, the corresponding line can be written as:

token_level_score[i, max_positions[i] - 1] = r[i, :max_positions[i]-1].sum()

xxiqiao avatar Jul 27 '25 16:07 xxiqiao

Scheduled issue cleanup / 定时 issue 清理

中文:该 issue 命中定时清理规则:最近一次非当前运行账号的公开回复或引用已经超过 6 个月。因此按定时清理标准先关闭。若作者或社区成员仍能提供新的复现、证据或需求背景,欢迎继续评论请求重开,或创建带有最新信息的新 issue。

证据:

  • Issue: https://github.com/verl-project/verl/issues/1322
  • 最近一次非当前运行账号的公开回复或公开引用是 2025-07-27T16:29:20Z UTC(comment by @xxiqiao),截至 2026-07-05 已超过 6 个月。
  • 已检查 comments 来源:https://api.github.com/repos/verl-project/verl/issues/1322/comments
  • 已检查 timeline 来源:https://api.github.com/repos/verl-project/verl/issues/1322/timeline

English: This issue matches the scheduled cleanup rule: the latest public reply or reference by an account other than the current runner is older than 6 months. Therefore, this is being closed under the scheduled cleanup policy. If the author or community members can still provide a fresh reproduction, evidence, or requirement context, please comment to request reopening or open a new issue with updated information.

Evidence:

  • Issue: https://github.com/verl-project/verl/issues/1322
  • The latest public reply or public reference from an account other than the current runner was 2025-07-27T16:29:20Z UTC (comment by @xxiqiao), which is more than 6 months before 2026-07-05.
  • Checked comments source: https://api.github.com/repos/verl-project/verl/issues/1322/comments
  • Checked timeline source: https://api.github.com/repos/verl-project/verl/issues/1322/timeline

This response was generated by a scheduled Codex GPT5.5 issue processing task.

Kirrito-k423 avatar Jul 05 '26 01:07 Kirrito-k423