-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[misc] chore: refactor and add several metrics (#111)
- Add format script - Move save_checkpoint to a separate function - Add timing/step, response_length/clip_ratio, prompt_length/clip_ratio and critic/vf_explained_var metrics - The training step starts from 1
- Loading branch information
1 parent
ff0c7cc
commit 018b0d7
Showing
3 changed files
with
156 additions
and
105 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
pip3 install --upgrade yapf | ||
yapf -ir -vv --style ./.style.yapf verl tests single_controller examples |
This file contains 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
This file contains 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