-
Notifications
You must be signed in to change notification settings - Fork 106
Jacklanchantin/normalized rewards #1161
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
Draft
jacklanchantin
wants to merge
44
commits into
main
Choose a base branch
from
jacklanchantin/normalized_rewards
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…els like llm reward model
* Add Skywork Reward Model * reorder * working checkpoint with skywork * unify VllmReward class * cleanup wrap text * actually not quite working. needs dp gather and scatter * add gather scatter for vllm rm * working checkpoint * working checkpoint * updates * Instantiate metric recorders on rank 0 only (#1072) * fix gather bug * cleanup * comment * add grpo (runnable, but not increasing rewards yet * log outputs * cleannup * rename * merge * fixes * testing online dpo after merge * bug fix * fixing merge errors * fix bugs * merged with online_training * update grpo * cleanup * fix grpo bug * cleanup * cleanup * isort/black * move vllm generate_rewards to its own function * refactor how reward models use prompt_batch * remove breakpoint * working chkpt * remove irrelevant skywork stuff --------- Co-authored-by: jacklanchantin user <[email protected]> Co-authored-by: Can Balioglu <[email protected]>
… reset at every validation
… wandb (#1148) * add log_rollouts function in _online_finetune/_common.py * set default False * add update_batch_metrics * add update_batch_metrics to grpo * update_batch_metrics in validation * wandb separate train/valid * remove comment
* add bool to validate before training * remove blank line * set online training preset: validate_step_0 = True * validate_step_0 --> validate_before_training
* add athene RM * remove local path * docstrings * docstrings * default tokenzier * remove divpo code * add handler * add new vllm args * remove valid_n
…1156) * add validation sampling params. force sync when restoring * force sync vllm in _maybe_restore_state * new frorce sync * try execpt * raise error
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
CLA Signed
This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do? Please describe:
A summary of the change or the issue that is fixed.
Fixes #{issue number}
Does your PR introduce any breaking changes? If yes, please list them:
List of all backwards-incompatible changes.
Check list: