Update scripts/finetune.py
Browse filesCo-authored-by: NanoCode012 <kevinvong@rocketmail.com>
- 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 |
-
|
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 |
|