src/transformers/models/pegasus_x/modeling_pegasus_x.py/PegasusXForConditionalGeneration/set_output_embeddings
class PegasusXForConditionalGeneration:    def set_output_embeddings(self, new_embeddings):
        self.lm_head = new_embeddings