mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-09-01 12:49:50 +08:00
dropout 0 as default (#549)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user