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
7b9365dd
Commit
7b9365dd
authored
Feb 25, 2020
by
Hongkun Yu
Committed by
A. Unique TensorFlower
Feb 25, 2020
Browse files
Internal change
PiperOrigin-RevId: 297247401
parent
37c6feb0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
official/nlp/bert/tf2_encoder_checkpoint_converter.py
official/nlp/bert/tf2_encoder_checkpoint_converter.py
+1
-1
No files found.
official/nlp/bert/tf2_encoder_checkpoint_converter.py
View file @
7b9365dd
...
@@ -50,7 +50,7 @@ def _create_bert_model(cfg):
...
@@ -50,7 +50,7 @@ def _create_bert_model(cfg):
Args:
Args:
cfg: A `BertConfig` to create the core model.
cfg: A `BertConfig` to create the core model.
Returns:
Returns:
A
keras model
.
A
TransformerEncoder netowork
.
"""
"""
bert_encoder
=
networks
.
TransformerEncoder
(
bert_encoder
=
networks
.
TransformerEncoder
(
vocab_size
=
cfg
.
vocab_size
,
vocab_size
=
cfg
.
vocab_size
,
...
...
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