Update rl_replacements.py
This commit is contained in:
parent
98687fa2ae
commit
ecd969d402
1 changed files with 0 additions and 1 deletions
|
|
@ -60,7 +60,6 @@ def sft_trainer_prepare_dataset(function_name, function):
|
|||
function_name != "_prepare_dataset": return function
|
||||
|
||||
check_text = \
|
||||
"\n"\
|
||||
"if 'tokenizer' not in locals(): tokenizer = processing_class\n"\
|
||||
"if 'formatting_func' not in locals(): raise RuntimeError('Unsloth: Please file a bug report - `formatting_func` does not exist!')\n"\
|
||||
"if 'dataset_text_field' not in locals() and 'args' in locals(): dataset_text_field = args.dataset_text_field\n"\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue