megatron.tokenizer.bert_tokenization.validate_case_matches_checkpoint#

megatron.tokenizer.bert_tokenization.validate_case_matches_checkpoint(do_lower_case, init_checkpoint)#

Checks whether the casing config is consistent with the checkpoint name.