Commit 7ba713c9 authored by Le Hou's avatar Le Hou Committed by A. Unique TensorFlower
Browse files

Internal change

PiperOrigin-RevId: 422638136
parent 16f29809
...@@ -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'
......
...@@ -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:
......
...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment