src/transformers/models/m2m_100/modeling_m2m_100.py/M2M100ForConditionalGeneration/set_output_embeddings
class M2M100ForConditionalGeneration:    def set_output_embeddings(self, new_embeddings):
        self.lm_head = new_embeddings