This commit is contained in:
Sourab Mangrulkar
2023-01-19 22:30:39 +05:30
parent a0644fce88
commit c1ab732ffe
+1 -1
View File
@@ -58,7 +58,7 @@ class LoraConfig(PeftConfig):
default=False,
metadata={"help": "Set this to True if the layer to replace stores weight like (fan_in, fan_out)"},
)
enable_lora: Optional[list[bool]] = field(default=None, metadata={"help": "Used with `lora.MergedLinear`."})
enable_lora: Optional[List[bool]] = field(default=None, metadata={"help": "Used with `lora.MergedLinear`."})
bias: str = field(default="none", metadata={"help": "Bias type for Lora. Can be 'none', 'all' or 'lora_only'"})
def __post_init__(self):