(self, config)
| 1124 | """ |
| 1125 | |
| 1126 | def __init__(self, config): |
| 1127 | super(BertForNextSentencePrediction, self).__init__(config) |
| 1128 | self.bert = BertModel(config) |
| 1129 | self.cls = BertOnlyNSPHead(config) |
| 1130 | self.apply(self.init_bert_weights) |
| 1131 | |
| 1132 | def forward(self, input_ids, token_type_ids=None, attention_mask=None, next_sentence_label=None, |
| 1133 | checkpoint_activations=False): |
nothing calls this directly
no test coverage detected