Skip to content

Commit

Permalink
save tokenizer
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreymeetkai committed Nov 12, 2024
1 parent f636615 commit bfaed17
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions functionary/train/train_lora.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,7 @@ def compute_metrics(eval_preds):

if training_args.local_rank == 0:
model.save_pretrained(training_args.output_dir, state_dict=state_dict)
tokenizer.save_pretrained(training_args.output_dir)


if __name__ == "__main__":
Expand Down

0 comments on commit bfaed17

Please sign in to comment.