| 42 | |
| 43 | @dataclass |
| 44 | class 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 | |
| 55 | def maybe_zero_3(param): |
nothing calls this directly
no outgoing calls
no test coverage detected