src/transformers/models/ernie/modeling_ernie.py/ErnieForPreTraining/__init__
class ErnieForPreTraining:    def __init__(self, config):
        super().__init__(config)

        self.ernie = ErnieModel(config)
        self.cls = ErniePreTrainingHeads(config)

        # Initialize weights and apply final processing
        self.post_init()