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
ModelZoo
ResNet50_tensorflow
Commits
c187e404
Commit
c187e404
authored
Jun 18, 2020
by
Chen Chen
Committed by
A. Unique TensorFlower
Jun 18, 2020
Browse files
Internal Change
PiperOrigin-RevId: 317123221
parent
20f31bf6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
official/nlp/configs/encoders.py
official/nlp/configs/encoders.py
+1
-1
No files found.
official/nlp/configs/encoders.py
View file @
c187e404
...
@@ -34,7 +34,7 @@ class TransformerEncoderConfig(base_config.Config):
...
@@ -34,7 +34,7 @@ class TransformerEncoderConfig(base_config.Config):
num_layers
:
int
=
12
num_layers
:
int
=
12
num_attention_heads
:
int
=
12
num_attention_heads
:
int
=
12
hidden_activation
:
str
=
"gelu"
hidden_activation
:
str
=
"gelu"
intermediate_size
:
int
=
307
6
intermediate_size
:
int
=
307
2
dropout_rate
:
float
=
0.1
dropout_rate
:
float
=
0.1
attention_dropout_rate
:
float
=
0.1
attention_dropout_rate
:
float
=
0.1
max_position_embeddings
:
int
=
512
max_position_embeddings
:
int
=
512
...
...
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