We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f404c6 commit 7df2365Copy full SHA for 7df2365
1 file changed
tuning/sft_trainer.py
@@ -130,9 +130,9 @@ def train(
130
)
131
132
resume_from_checkpoint = None
133
- if training_args.output_dir:
134
- os.makedirs(training_args.output_dir, exist_ok=True)
135
- logger.info("using the output directory at %s", training_args.output_dir)
+ if train_args.output_dir:
+ os.makedirs(train_args.output_dir, exist_ok=True)
+ logger.info("using the output directory at %s", train_args.output_dir)
136
137
# Check if resume flag is not passed (None), or if flag is true and
138
# output_dir has checkpoints then get last checkpoint from output_dir
0 commit comments