n top for extractive</span>
<span class="sd">    question-answering tasks like SQuAD (a linear layer on top of the hidden-states output to compute span start</span>
<span class="sd">    logits and span end logits).</span>

<span class="sd">    Pretrained models can be loaded with :meth:`.pretrained` of the companion</span>
<span class="sd">    object:</span>

<span class="sd">    &gt;&gt;&gt; spanClassifier = DeBertaForQuestionAnswering.pretrained() \\</span>
<span class="sd">    ...     .setInputCols([&quo