Update scripts/finetune.py for logging

Co-authored-by: NanoCode012 <kevinvong@rocketmail.com>
This commit is contained in:
Wing Lian
2023-05-21 23:00:23 -04:00
committed by GitHub
parent 98a6781f18
commit ae1719d30c

View File

@@ -171,7 +171,7 @@ def train(
)
if "merge_lora" in kwargs and cfg.adapter is not None:
print("running merge of LoRA with base model")
logging.info("running merge of LoRA with base model")
model = model.merge_and_unload()
if cfg.local_rank == 0: