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
7ba713c9
Commit
7ba713c9
authored
Jan 18, 2022
by
Le Hou
Committed by
A. Unique TensorFlower
Jan 18, 2022
Browse files
Internal change
PiperOrigin-RevId: 422638136
parent
16f29809
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
+4
-5
official/benchmark/bert_benchmark.py
official/benchmark/bert_benchmark.py
+2
-3
official/benchmark/bert_pretrain_benchmark.py
official/benchmark/bert_pretrain_benchmark.py
+1
-1
official/benchmark/bert_squad_benchmark.py
official/benchmark/bert_squad_benchmark.py
+1
-1
No files found.
official/benchmark/bert_benchmark.py
View file @
7ba713c9
...
@@ -14,7 +14,6 @@
...
@@ -14,7 +14,6 @@
# ==============================================================================
# ==============================================================================
"""Executes BERT benchmarks and accuracy tests."""
"""Executes BERT benchmarks and accuracy tests."""
import
functools
import
json
import
json
import
math
import
math
import
os
import
os
...
@@ -28,8 +27,8 @@ from official.benchmark import benchmark_wrappers
...
@@ -28,8 +27,8 @@ from official.benchmark import benchmark_wrappers
from
official.benchmark
import
bert_benchmark_utils
as
benchmark_utils
from
official.benchmark
import
bert_benchmark_utils
as
benchmark_utils
from
official.benchmark
import
owner_utils
from
official.benchmark
import
owner_utils
from
official.common
import
distribute_utils
from
official.common
import
distribute_utils
from
official.
nlp
.bert
import
configs
from
official.
legacy
.bert
import
configs
from
official.
nlp
.bert
import
run_classifier
from
official.
legacy
.bert
import
run_classifier
# pylint: disable=line-too-long
# pylint: disable=line-too-long
PRETRAINED_CHECKPOINT_PATH
=
'gs://cloud-tpu-checkpoints/bert/keras_bert/uncased_L-24_H-1024_A-16/bert_model.ckpt'
PRETRAINED_CHECKPOINT_PATH
=
'gs://cloud-tpu-checkpoints/bert/keras_bert/uncased_L-24_H-1024_A-16/bert_model.ckpt'
...
...
official/benchmark/bert_pretrain_benchmark.py
View file @
7ba713c9
...
@@ -28,7 +28,7 @@ from official.benchmark import benchmark_wrappers
...
@@ -28,7 +28,7 @@ from official.benchmark import benchmark_wrappers
from
official.benchmark
import
bert_benchmark_utils
from
official.benchmark
import
bert_benchmark_utils
from
official.benchmark
import
owner_utils
from
official.benchmark
import
owner_utils
from
official.common
import
distribute_utils
from
official.common
import
distribute_utils
from
official.
nlp
.bert
import
run_pretraining
from
official.
legacy
.bert
import
run_pretraining
from
official.utils.flags
import
core
as
flags_core
from
official.utils.flags
import
core
as
flags_core
# Pretrain masked lanauge modeling accuracy range:
# Pretrain masked lanauge modeling accuracy range:
...
...
official/benchmark/bert_squad_benchmark.py
View file @
7ba713c9
...
@@ -26,7 +26,7 @@ from official.benchmark import benchmark_wrappers
...
@@ -26,7 +26,7 @@ from official.benchmark import benchmark_wrappers
from
official.benchmark
import
bert_benchmark_utils
as
benchmark_utils
from
official.benchmark
import
bert_benchmark_utils
as
benchmark_utils
from
official.benchmark
import
owner_utils
from
official.benchmark
import
owner_utils
from
official.common
import
distribute_utils
from
official.common
import
distribute_utils
from
official.
nlp
.bert
import
run_squad
from
official.
legacy
.bert
import
run_squad
from
official.utils.misc
import
keras_utils
from
official.utils.misc
import
keras_utils
...
...
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