src/transformers/models/megatron_bert/modeling_megatron_bert.py/MegatronBertForNextSentencePrediction/__init__
class MegatronBertForNextSentencePrediction:    def __init__(self, config):
        super().__init__(config)

        self.bert = MegatronBertModel(config)
        self.cls = MegatronBertOnlyNSPHead(config)

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