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

<span class="sd">    &gt;&gt;&gt;embeddings = BertSentenceEmbeddings.pretrained() \\</span>
<span class="sd">    ...    .setInputCols([&quot;sentence&quot;]) \\</span>
<span class="sd">    ...    .setOutputCol(&quot;sentence_bert_embeddings&quot;)</span>


<span class="sd">    The default model is ``&quot;sent_small_bert_L2_768&quot;``, if no name is provided.</span>

<span class="sd">    Fo