src/transformers/models/bert_generation/tokenization_bert_generation.py/BertGenerationTokenizer/vocab_size
class BertGenerationTokenizer:    def vocab_size(self):
        return self.sp_model.get_piece_size()