Update rl.py
This commit is contained in:
parent
d9be145849
commit
c7c6f2c88d
1 changed files with 2 additions and 0 deletions
|
|
@ -476,6 +476,8 @@ def _patch_trl_rl_trainers(trainer_file = "grpo_trainer"):
|
|||
"top_k" : None,
|
||||
"vllm_mode" : "colocate",
|
||||
"generation_kwargs" : {},
|
||||
"bf16" : False,
|
||||
"fp16" : False,
|
||||
}
|
||||
for k, v in replacements.items():
|
||||
x = f"{k}( = [^,\n]{{1,}})?,\n"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue