From 39287b06dabea89705068b7505238a61cc540ee9 Mon Sep 17 00:00:00 2001 From: FNsi <125447286+FNsi@users.noreply.github.com> Date: Mon, 22 May 2023 19:26:00 +0800 Subject: [PATCH] Update merge-hf-and-lora-to-hf.py Co-authored-by: slaren --- merge-hf-and-lora-to-hf.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/merge-hf-and-lora-to-hf.py b/merge-hf-and-lora-to-hf.py index e84440900..2dcd7c1ba 100644 --- a/merge-hf-and-lora-to-hf.py +++ b/merge-hf-and-lora-to-hf.py @@ -5,8 +5,7 @@ from peft import PeftModel # args with description. parser = argparse.ArgumentParser( - prog="Merge HF file with Lora\n", - description="Please locate HF format model path with pytorch_*.bin inside, lora path with adapter_config.json and adapter_model.bin.", + description="Merge HF model with LoRA", ) # The original base model checkpoint dir