Skip to content

Commit

Permalink
tiny fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hiyouga committed May 8, 2023
1 parent b9b0353 commit 995c032
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/train_rm.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ def main():
inference_mode=(not training_args.do_train)
)

training_args.remove_unused_columns = False # Important for pairwise dataset

# Initialize our Trainer
trainer = PairwiseTrainerForChatGLM(
finetuning_args=finetuning_args,
Expand Down

0 comments on commit 995c032

Please sign in to comment.