src/transformers/models/esm/modeling_esmfold.py/EsmForProteinFolding/_af2_to_esm_from_vocab_list
class EsmForProteinFolding:    def _af2_to_esm_from_vocab_list(vocab_list: List[str]) -> torch.Tensor:
        # Remember that t is shifted from residue_constants by 1 (0 is padding).
        esm_reorder = [vocab_list.index("<pad>")] + [vocab_list.index(v) for v in residue_constants.restypes_with_x]
        return torch.tensor(esm_reorder)