e loaded with :meth:`.pretrained` of the companion</span>
<span class="sd">    object:</span>

<span class="sd">    &gt;&gt;&gt; embeddings = InstructorEmbeddings.pretrained() \\</span>
<span class="sd">    ...     .setInputCols([&quot;document&quot;]) \\</span>
<span class="sd">    ...     .setInstruction(&quot;Represent the Medicine sentence for clustering: &quot;) \\</span>
<span class="sd">    ...     .setOutputCol(&quot;instructor_embeddings&quot;)</span>


<span class="sd">    The default model is ``&