Update rl.py
This commit is contained in:
parent
ee31eb03e9
commit
5cd1cbe05f
1 changed files with 1 additions and 1 deletions
|
|
@ -449,7 +449,7 @@ def patch_trl_rl_trainers():
|
|||
pass
|
||||
|
||||
|
||||
def PatchFastRL(algorithm = "GRPO", FastLanguageModel = None):
|
||||
def PatchFastRL(algorithm = None, FastLanguageModel = None):
|
||||
if FastLanguageModel is not None: PatchRL(FastLanguageModel)
|
||||
patch_trl_rl_trainers()
|
||||
if algorithm is not None: PatchRLStatistics(algorithm)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue