Skip to content

Commit

Permalink
propagating eval_batch_size to TrainingArguments (huggingface#675)
Browse files Browse the repository at this point in the history
Co-authored-by: Rahul Jha <rahuljha@netflix.com>
  • Loading branch information
2 people authored and kushal-tri committed Sep 19, 2023
1 parent a6d3141 commit eb2ebe0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ def return_prompt_and_responses(samples) -> Dict[str, str]:
# 4. initialize training arguments:
training_args = TrainingArguments(
per_device_train_batch_size=script_args.per_device_train_batch_size,
per_device_eval_batch_size=script_args.per_device_eval_batch_size,
max_steps=script_args.max_steps,
logging_steps=script_args.logging_steps,
save_steps=script_args.save_steps,
Expand Down

0 comments on commit eb2ebe0

Please sign in to comment.