mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-06-24 17:31:18 +08:00
dropout 0 as default (#549)
This commit is contained in:
parent
3a9e6c3f70
commit
ad3cf5ed98
@ -10,7 +10,7 @@ class LoRALinear(nn.Module):
|
||||
linear: nn.Linear,
|
||||
r: int = 8,
|
||||
lora_alpha: float = 16,
|
||||
lora_dropout: float = 0.05,
|
||||
lora_dropout: float = 0.0,
|
||||
scale: float = 10.0,
|
||||
):
|
||||
# TODO remove when input_dims and output_dims are attributes
|
||||
|
Loading…
Reference in New Issue
Block a user