Commit c7880912 authored by zhuwenwen's avatar zhuwenwen
Browse files

fix run lora error

parent 6e9157c4
...@@ -2653,6 +2653,8 @@ class LoRAConfig: ...@@ -2653,6 +2653,8 @@ class LoRAConfig:
specified, only adapters trained with the base model scaling factor are specified, only adapters trained with the base model scaling factor are
allowed.""" allowed."""
bias_enabled: bool = False bias_enabled: bool = False
merge_lora: bool = False
lora_target_modules: Optional[List[str]] = None
"""Enable bias for LoRA adapters.""" """Enable bias for LoRA adapters."""
def compute_hash(self) -> str: def compute_hash(self) -> str:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment