Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
Megatron-LM
Commits
7917774a
Commit
7917774a
authored
Jul 25, 2020
by
Boris Fomitchev
Browse files
fixing copy-paste
parent
158a99c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
megatron/model/bert_model.py
megatron/model/bert_model.py
+1
-1
No files found.
megatron/model/bert_model.py
View file @
7917774a
...
...
@@ -97,7 +97,7 @@ class BertLMHead(MegatronModule):
self
.
gelu
=
openai_gelu
# make it override
if
args
.
erf_gelu
:
self
.
gelu
=
openai
_gelu
self
.
gelu
=
erf
_gelu
def
forward
(
self
,
hidden_states
,
word_embeddings_weight
):
hidden_states
=
self
.
dense
(
hidden_states
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment