winglian Nanobit commited on
Commit
3457810
·
unverified ·
1 Parent(s): ae1719d

Update scripts/finetune.py

Browse files

Co-authored-by: NanoCode012 <kevinvong@rocketmail.com>

Files changed (1) hide show
  1. scripts/finetune.py +1 -1
scripts/finetune.py CHANGED
@@ -175,7 +175,7 @@ def train(
175
  model = model.merge_and_unload()
176
 
177
  if cfg.local_rank == 0:
178
- print("saving merged model")
179
  model.save_pretrained(str(Path(cfg.output_dir) / "merged"))
180
  return
181
 
 
175
  model = model.merge_and_unload()
176
 
177
  if cfg.local_rank == 0:
178
+ logging.info("saving merged model")
179
  model.save_pretrained(str(Path(cfg.output_dir) / "merged"))
180
  return
181