src/transformers/models/perceiver/tokenization_perceiver.py/PerceiverTokenizer/get_vocab
class PerceiverTokenizer:    def get_vocab(self) -> Dict[str, int]:
        vocab = self.special_tokens_encoder.copy()
        vocab.update(self.added_tokens_encoder)
        for i in range(self._utf_vocab_size):
            token = chr(i)
            vocab[token] = i + len(self.special_tokens_encoder)
        return vocab