modelscope / modelscope/ms-swift

支持RLPR算法(一种RLVR Free的方式)的Reward Func

Open
#6,640 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
15.7k
Forks
1.7k
Avg merge
1d 16h
Merged PRs (30d)
136

Description

RLPR的论文:https://arxiv.org/abs/2506.18254
核心点:需要在奖励函数里面调用当前的策略模型进行推理,计算question+thinking+label的logps,也需要计算question+label的logps。貌似咱们目前的自定义奖励函数里面无法使用当前策略模型进行计算,希望能考虑支持一下,谢谢。

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the linked RLPR paper and reviewing how custom reward functions are currently handled. Trace whether the current policy model is available there and how log probabilities are computed. Done would mean custom rewards can calculate both question+thinking+label and question+label logps using the current policy model.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.