src/transformers/models/mt5/modeling_mt5.py/MT5ForConditionalGeneration/set_output_embeddings
class MT5ForConditionalGeneration:    def set_output_embeddings(self, new_embeddings):
        self.lm_head = new_embeddings