[fix] mobilebert had wrong path, causing slow test failure (#5205)

This commit is contained in:
Sam Shleifer
2020-06-22 23:31:36 -04:00
committed by GitHub
parent f5c2a122e3
commit 0d158e38c9
2 changed files with 1 additions and 7 deletions

View File

@@ -39,7 +39,7 @@ from .modeling_utils import PreTrainedModel, find_pruneable_heads_and_indices, p
logger = logging.getLogger(__name__)
MOBILEBERT_PRETRAINED_MODEL_ARCHIVE_LIST = ["mobilebert-uncased"]
MOBILEBERT_PRETRAINED_MODEL_ARCHIVE_LIST = ["google/mobilebert-uncased"]
def load_tf_weights_in_mobilebert(model, config, tf_checkpoint_path):