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
Fairseq
Commits
ff3db3cd
Commit
ff3db3cd
authored
Jul 02, 2018
by
ngimel
Committed by
Myle Ott
Jul 02, 2018
Browse files
fix decoder_normalize_before typo (#205)
parent
62578bbe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
fairseq/models/transformer.py
fairseq/models/transformer.py
+1
-1
No files found.
fairseq/models/transformer.py
View file @
ff3db3cd
...
...
@@ -480,7 +480,7 @@ def transformer_wmt_en_de_big(args):
@
register_model_architecture
(
'transformer'
,
'transformer_wmt_en_de_big_t2t'
)
def
transformer_wmt_en_de_big_t2t
(
args
):
args
.
encoder_normalize_before
=
getattr
(
args
,
'encoder_normalize_before'
,
True
)
args
.
e
n
coder_normalize_before
=
getattr
(
args
,
'decoder_normalize_before'
,
True
)
args
.
d
ecoder_normalize_before
=
getattr
(
args
,
'decoder_normalize_before'
,
True
)
args
.
attention_dropout
=
getattr
(
args
,
'attention_dropout'
,
0.1
)
args
.
relu_dropout
=
getattr
(
args
,
'relu_dropout'
,
0.1
)
transformer_vaswani_wmt_en_de_big
(
args
)
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