src/transformers/models/marian/modeling_marian.py/MarianForCausalLM/set_output_embeddings
class MarianForCausalLM:    def set_output_embeddings(self, new_embeddings):
        self.lm_head = new_embeddings