Update rl_replacements.py
This commit is contained in:
parent
4185a04c2e
commit
bbb6d1589d
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ def sft_trainer_prepare_dataset(function_name, function):
|
|||
" add_special_tokens = False if has_bos_token_already else add_special_tokens\n"
|
||||
|
||||
check_text = check_text.split("\n")
|
||||
check_text = "\n".join(" "*where + x for x in check_text)
|
||||
check_text = "\n".join(" "*4 + x for x in check_text)
|
||||
check_text = check_text.rstrip() + "\n"
|
||||
|
||||
# .*? matches first match. .+? matches final match.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue