n 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; sequenceClassifier = BartForZeroShotClassification.pretrained() \\</span>
<span class="sd">    ...     .setInputCols([&quot;token&quot;, &quot;document&quot;]) \\</span>
<span class="sd">    ...     .setOutputCol(&quot;label&quot;)</span>

<span class="sd">    The default model is ``&quot;bart_large_zero_shot_classifier_mnli&quot;``, if no n