Former-commit-id: bd565af3706d74712e50884797ee2e2056a49809
This commit is contained in:
hiyouga 2023-06-02 14:25:00 +08:00
parent 4003ddcc3b
commit b0e9a673be

View File

@ -188,8 +188,8 @@ class FinetuningArguments:
lora_target: Optional[str] = field(
default="q_proj,v_proj",
metadata={"help": "Name(s) of target modules to apply LoRA. Use comma to separate multiple modules. \
LLaMA choices: [\"q_proj\", \"k_proj\", \"v_proj\", \"o_proj\", \"mlp\"], \
BLOOM choices: [\"query_key_value\", \"dense\", \"mlp\"]"}
LLaMA choices: [\"q_proj\", \"k_proj\", \"v_proj\", \"o_proj\", \"up_proj\", \"down_proj\"], \
BLOOM choices: [\"query_key_value\", \"dense\", \"dense_\"]"}
)
def __post_init__(self):