Commit 7917774a authored by Boris Fomitchev's avatar Boris Fomitchev
Browse files

fixing copy-paste

parent 158a99c3
...@@ -97,7 +97,7 @@ class BertLMHead(MegatronModule): ...@@ -97,7 +97,7 @@ class BertLMHead(MegatronModule):
self.gelu = openai_gelu self.gelu = openai_gelu
# make it override # make it override
if args.erf_gelu: if args.erf_gelu:
self.gelu = openai_gelu self.gelu = erf_gelu
def forward(self, hidden_states, word_embeddings_weight): def forward(self, hidden_states, word_embeddings_weight):
hidden_states = self.dense(hidden_states) hidden_states = self.dense(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