dings = MiniLMEmbeddings.pretrained() \\</span>
<span class="sd">    ...     .setInputCols([&quot;document&quot;]) \\</span>
<span class="sd">    ...     .setOutputCol(&quot;minilm_embeddings&quot;)</span>


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

<span class="sd">    For available pretrained models please see the</span>
<span class="sd">    `Models Hub &lt;https://sparknlp.org/models?q=MiniLM&gt;`__.</span>


<span class="sd">    =============