Update rl_replacements.py
This commit is contained in:
parent
34c66f0327
commit
1a969535e4
1 changed files with 1 additions and 1 deletions
|
|
@ -249,7 +249,7 @@ def grpo_trainer__generate_and_score_completions(function_name, function):
|
|||
found = re.findall(
|
||||
r"(\n([\s]{1,})if self\.max_prompt_length is not None:.*?"\
|
||||
r"\2if self\.use_vllm:)",
|
||||
a,
|
||||
function,
|
||||
flags = re.DOTALL | re.MULTILINE,
|
||||
)
|
||||
if len(found) != 0:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue