RL2R: RL with Reference-Based Rewards
Note: RL2R was previously released as RefAlign. Repository names on the Hugging Face Hub keep the old naming.
GitHub repository: https://github.com/mzhaoshuai/RL2R/tree/alignment
Paper: Reinforcement Learning with Reference-Based Rewards for Language Model Reasoning and Alignment.
The training data is mzhaoshuai/Llama-3.3-70B-Inst-awq_ultrafeedback_1in3.
When conducting Reinforcement Learning with Reference-Based Rewards, the reward function is BERTScore.
| Hyper-Parameters | Value |
|---|---|
| LR | 8e-7 |
| Batch Size | 512 |
| Epoch | 1 |
| Prompt Length | 400 |
| Generation Length | 800 |
| Advantage CLIP | 0.5 |
| Sampled Generations (K) | 2 |
| BertScore Model | bart-large-mnli |