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
82aeb5b4
Commit
82aeb5b4
authored
Mar 11, 2022
by
Jinoo Baek
Committed by
A. Unique TensorFlower
Mar 11, 2022
Browse files
Change BertPretrainer to keep `mlm_activation` in config.
PiperOrigin-RevId: 434014162
parent
f9dbe73a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
official/nlp/modeling/models/bert_pretrainer.py
official/nlp/modeling/models/bert_pretrainer.py
+1
-0
No files found.
official/nlp/modeling/models/bert_pretrainer.py
View file @
82aeb5b4
...
...
@@ -199,6 +199,7 @@ class BertPretrainerV2(tf.keras.Model):
self
.
_config
=
{
'encoder_network'
:
encoder_network
,
'mlm_initializer'
:
mlm_initializer
,
'mlm_activation'
:
mlm_activation
,
'classification_heads'
:
classification_heads
,
'name'
:
name
,
}
...
...
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