Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Remote Reward Server Feature #419

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

YuchenFan48
Copy link

Description

This PR introduces support for remote generative models to enhance the verification and reward assignment process in VERL. Previously, VERL only supported rule-based rewards for verification. With this update, we enable more flexible and dynamic reward mechanisms using generative models.

Key Changes

Bug Fix:

  • Resolved an issue in main_ppo.py where the val_dataloader was incorrectly processed in batches. This ensures proper handling of validation data during training.

New Features:

  • Added a Generative Reward Manager in workers/reward_manager to handle reward generation using remote generative models.
  • Implemented a corresponding compute_score function in utils/reward_score to calculate scores based on generative model outputs.

Issue Resolution:

  • Closes #269 and #229: Adds support for remote generative reward mechanisms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support reward model on a remote server
1 participant