src/transformers/models/xlnet/modeling_xlnet.py/XLNetForQuestionAnsweringSimple/__init__
class XLNetForQuestionAnsweringSimple:    def __init__(self, config):
        super().__init__(config)
        self.num_labels = config.num_labels

        self.transformer = XLNetModel(config)
        self.qa_outputs = nn.Linear(config.hidden_size, config.num_labels)

        self.init_weights()