src/transformers/models/electra/modeling_electra.py/ElectraForPreTraining/__init__
class ElectraForPreTraining:    def __init__(self, config):
        super().__init__(config)

        self.electra = ElectraModel(config)
        self.discriminator_predictions = ElectraDiscriminatorPredictions(config)
        # Initialize weights and apply final processing
        self.post_init()