This commit is contained in:
hzg0601 2023-07-28 03:59:29 +08:00
parent 9326c63a62
commit 161c9e6c50
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ parser.add_argument('--model-name', type=str, default=LLM_MODEL, help='Name of t
parser.add_argument("--use-lora",type=bool,default=USE_LORA,help="use lora or not")
parser.add_argument('--lora', type=str, default=LORA_NAME,help='Name of the LoRA to apply to the model by default.')
parser.add_argument("--lora-dir", type=str, default=LORA_DIR, help="Path to directory with all the loras")
parser.add_argument('--use-ptuning-v2',action=USE_PTUNING_V2,help="whether use ptuning-v2 checkpoint")
parser.add_argument('--use-ptuning-v2',default=USE_PTUNING_V2,help="whether use ptuning-v2 checkpoint")
parser.add_argument("--ptuning-dir",type=str,default=PTUNING_DIR,help="the dir of ptuning-v2 checkpoint")
# Accelerate/transformers
parser.add_argument('--load-in-8bit', action='store_true', default=LOAD_IN_8BIT,