 MiniLM.</span>

<span class="sd">    MiniLM, a lightweight and efficient sentence embedding model that can generate text embeddings for various NLP tasks (e.g., classification, retrieval, clustering, text evaluation, etc.)</span>
<span class="sd">    Note that this annotator is only supported for Spark Versions 3.4 and up.</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; embed