Skip to content

Commit

Permalink
add use bias
Browse files Browse the repository at this point in the history
  • Loading branch information
Felipe Mello committed Oct 22, 2024
1 parent bee4007 commit 3496746
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions torchtune/models/clip/_component_builders.py
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,7 @@ def lora_clip_mlp(
alpha=lora_alpha,
dropout=lora_dropout,
quantize_base=quantize_base,
use_bias=True,
)
down_proj = adapter_cls(
in_dim=hidden_dim,
Expand All @@ -517,6 +518,7 @@ def lora_clip_mlp(
alpha=lora_alpha,
dropout=lora_dropout,
quantize_base=quantize_base,
use_bias=True,
)
return FeedForward(
gate_proj=gate_proj, down_proj=down_proj, up_proj=None, activation=activation
Expand Down

0 comments on commit 3496746

Please sign in to comment.