We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d241dd0 commit d27df4dCopy full SHA for d27df4d
keras_nlp/models/t5/t5_transformer_layer.py
@@ -123,7 +123,7 @@ def call(
123
x = self.layer_norm(x)
124
if self.use_gated_activation:
125
hidden_activation = self.input_projector(x)
126
- hidden_linear = self.gate_projector(hidden_states)
+ hidden_linear = self.gate_projector(x)
127
x = hidden_activation * hidden_linear
128
else:
129
x = self.input_projector(x)
0 commit comments