MCPcopy Create free account
hub / github.com/OpenBMB/ToolBench / LoraArguments

Class LoraArguments

toolbench/train/train_lora.py:44–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42
43@dataclass
44class LoraArguments:
45 lora_r: int = 8
46 lora_alpha: int = 16
47 lora_dropout: float = 0.05
48 lora_target_modules: typing.List[str] = field(
49 default_factory=lambda: ["q_proj", "v_proj"]
50 )
51 lora_weight_path: str = ""
52 lora_bias: str = "none"
53
54
55def maybe_zero_3(param):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected