    embeddingsFinisher</span>
<span class="sd">    ... ])</span>
<span class="sd">    &gt;&gt;&gt; data = spark.createDataFrame([[&quot;This is a sample sentence for embedding generation.&quot;,</span>
<span class="sd">    ... &quot;Another example sentence to demonstrate MiniLM embeddings.&quot;,</span>
<span class="sd">    ... ]]).toDF(&quot;text&quot;)</span>
<span class="sd">    &gt;&gt;&gt; result = pipeline.fit(data).transform(data)</span>
<span class="sd">    &gt;&gt;&gt; result.selectExpr(&quot;expl