Skip to content

Commit f0c412f

Browse files
committed
fix kwargs passing
1 parent c0e6707 commit f0c412f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

keras_hub/src/models/smollm3/smollm3_backbone.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@ def __init__(
128128
hidden_states = decoder_layer(
129129
hidden_states,
130130
position_embeddings=position_embeddings,
131-
decoder_padding_mask=padding_mask_input**kwargs,
131+
decoder_padding_mask=padding_mask_input,
132+
**kwargs,
132133
)
133134

134135
sequence_output = self.norm(hidden_states)

0 commit comments

Comments
 (0)