src/transformers/models/pegasus_x/modeling_pegasus_x.py/PegasusXForConditionalGeneration/resize_token_embeddings
class PegasusXForConditionalGeneration:    def resize_token_embeddings(self, new_num_tokens: int) -> nn.Embedding:
        new_embeddings = super().resize_token_embeddings(new_num_tokens)
        return new_embeddings