src/transformers/models/bert/modeling_tf_bert.py/TFBertForNextSentencePrediction/__init__
class TFBertForNextSentencePrediction:    def __init__(self, config: BertConfig, *inputs, **kwargs):
        super().__init__(config, *inputs, **kwargs)

        self.bert = TFBertMainLayer(config, name="bert")
        self.nsp = TFBertNSPHead(config, name="nsp___cls")