Skip to content

Commit

Permalink
Correct layer name for TFCTRL
Browse files Browse the repository at this point in the history
  • Loading branch information
Rocketknight1 committed Jan 27, 2025
1 parent bb02fd1 commit 4620592
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transformers/models/ctrl/modeling_tf_ctrl.py
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,7 @@ def call(
training=training,
)
hidden_states = transformer_outputs[0]
logits = self.score(hidden_states)
logits = self.classifier(hidden_states)
logits_shape = shape_list(logits)
batch_size = logits_shape[0]

Expand Down

0 comments on commit 4620592

Please sign in to comment.