s&quot;)</span>
<span class="sd">    &gt;&gt;&gt; embeddingsFinisher = EmbeddingsFinisher() \\</span>
<span class="sd">    ...     .setInputCols([&quot;embeddings&quot;]) \\</span>
<span class="sd">    ...     .setOutputCols(&quot;finished_embeddings&quot;) \\</span>
<span class="sd">    ...     .setOutputAsVector(True)</span>
<span class="sd">    &gt;&gt;&gt; pipeline = Pipeline().setStages([</span>
<span class="sd">    ...     documentAssembler,</span>
<span class="sd">    ...     tokenizer,</span>
<span 