"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "17cc71e1490179647cd43e3a7835a5d9153c4321"
Unverified Commit 8bb2c387 authored by Yih-Dar's avatar Yih-Dar Committed by GitHub
Browse files

Fix FlaxBigBirdEmbeddings (#17842)


Co-authored-by: default avatarydshieh <ydshieh@users.noreply.github.com>
parent b68d408f
...@@ -229,8 +229,8 @@ class FlaxBigBirdEmbeddings(nn.Module): ...@@ -229,8 +229,8 @@ class FlaxBigBirdEmbeddings(nn.Module):
hidden_states = inputs_embeds + token_type_embeddings + position_embeds hidden_states = inputs_embeds + token_type_embeddings + position_embeds
# Layer Norm # Layer Norm
hidden_states = self.LayerNorm(hidden_states)
hidden_states = self.dropout(hidden_states, deterministic=deterministic) hidden_states = self.dropout(hidden_states, deterministic=deterministic)
hidden_states = self.LayerNorm(hidden_states)
return hidden_states return hidden_states
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment