src/transformers/models/pegasus/modeling_pegasus.py/PegasusForConditionalGeneration/set_output_embeddings
class PegasusForConditionalGeneration:    def set_output_embeddings(self, new_embeddings):
        self.lm_head = new_embeddings