(self, config)
| 777 | ) |
| 778 | class BertForPreTraining(BertPreTrainedModel): |
| 779 | def __init__(self, config): |
| 780 | super().__init__(config) |
| 781 | |
| 782 | self.bert = BertModel(config) |
| 783 | self.cls = BertPreTrainingHeads(config) |
| 784 | |
| 785 | self.init_weights() |
| 786 | |
| 787 | def get_output_embeddings(self): |
| 788 | return self.cls.predictions.decoder |
nothing calls this directly
no test coverage detected