Update rl_replacements.py
This commit is contained in:
parent
4be051e52c
commit
997d102011
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ def dpo_trainer_fix_columns(call_args, extra_args):
|
|||
" 'prompt_input_ids', 'prompt_attention_mask']\n"\
|
||||
" if all(x in column_names for x in check):\n"\
|
||||
" train_dataset = train_dataset.remove_columns(['chosen', 'rejected', 'prompt'])\n"\
|
||||
" del check, column_names\n"\
|
||||
" del check, column_names\n"
|
||||
return fix_dpo
|
||||
return ""
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue