src/transformers/models/data2vec/modeling_data2vec_text.py/Data2VecTextForQuestionAnswering/__init__
class Data2VecTextForQuestionAnswering:    def __init__(self, config):
        super().__init__(config)
        self.num_labels = config.num_labels

        self.data2vec_text = Data2VecTextModel(config, add_pooling_layer=False)
        self.qa_outputs = nn.Linear(config.hidden_size, config.num_labels)

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