Skip to content

Commit

Permalink
Fix FlaxBigBirdEmbeddings (#17842)
Browse files Browse the repository at this point in the history
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
  • Loading branch information
ydshieh and ydshieh authored Jul 1, 2022
1 parent b68d408 commit 8bb2c38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transformers/models/big_bird/modeling_flax_big_bird.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,8 @@ def __call__(self, input_ids, token_type_ids, position_ids, attention_mask, dete
hidden_states = inputs_embeds + token_type_embeddings + position_embeds

# Layer Norm
hidden_states = self.LayerNorm(hidden_states)
hidden_states = self.dropout(hidden_states, deterministic=deterministic)
hidden_states = self.LayerNorm(hidden_states)
return hidden_states


Expand Down

0 comments on commit 8bb2c38

Please sign in to comment.