Skip to content

Commit

Permalink
write tuner version to model info
Browse files Browse the repository at this point in the history
  • Loading branch information
zetavg committed Apr 21, 2023
1 parent 2aa964c commit 8177d08
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions llama_lora/ui/finetune_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,10 @@ def on_step_end(self, args, state, control, **kwargs):
info['continued_from_model'] = continue_from_model
if continue_from_checkpoint:
info['continued_from_checkpoint'] = continue_from_checkpoint

if Global.version:
info['tuner_version'] = Global.version

json.dump(info, info_json_file, indent=2)

if not should_training_progress_track_tqdm:
Expand Down

0 comments on commit 8177d08

Please sign in to comment.