megatron.tokenizer.bert_tokenization.load_vocab#

megatron.tokenizer.bert_tokenization.load_vocab(vocab_file)#

Loads a vocabulary file into a dictionary.