src/transformers/models/electra/modeling_tf_electra.py/TFElectraMaskedLMHead/set_output_embeddings
class TFElectraMaskedLMHead:    def set_output_embeddings(self, value):
        self.input_embeddings.weight = value
        self.input_embeddings.vocab_size = shape_list(value)[0]