Update merge-hf-and-lora-to-hf.py
Co-authored-by: slaren <slarengh@gmail.com>
This commit is contained in:
parent
39287b06da
commit
1fd5d10b07
1 changed files with 7 additions and 7 deletions
|
@ -10,23 +10,23 @@ parser = argparse.ArgumentParser(
|
|||
|
||||
# The original base model checkpoint dir
|
||||
parser.add_argument(
|
||||
"--model_path",
|
||||
"--model",
|
||||
type=str,
|
||||
default="decapoda-research/llama-7b-hf",
|
||||
help="Directory contain original HF model",
|
||||
help="HF model name or path",
|
||||
)
|
||||
# The finetuned lora model checkpoint dir
|
||||
parser.add_argument(
|
||||
"--lora_path",
|
||||
"--lora",
|
||||
type=str,
|
||||
default="decapoda-research/lora",
|
||||
help="Directory contain Lora",
|
||||
required=True,
|
||||
help="LoRA model name or path",
|
||||
)
|
||||
# The output dir
|
||||
parser.add_argument(
|
||||
"--out_path",
|
||||
"--out",
|
||||
type=str,
|
||||
default="decapoda-research/lora-merged",
|
||||
required=True,
|
||||
help="Directory store merged HF model",
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue