src/transformers/models/electra/modeling_electra.py/ElectraForCausalLM/set_output_embeddings
class ElectraForCausalLM:    def set_output_embeddings(self, new_embeddings):
        self.generator_lm_head = new_embeddings