code: def runTest(self):
      document_assembler = (
          DocumentAssembler()
          .setInputCol("text")
          .setOutputCol("document")
      )
      sentence_detector = (
          SentenceDetector()
          .setInputCols(["document"])
          .setOutputCol("sentence")
      )
      tokenizer = (
          Tokenizer().setInputCols(["sentence"]).setOutputCol("token")
      )
      glove = (
          WordEmbeddingsModel.pretrained()
          .setInputCols(["sentence", "token"])
          .setOutputCol("embeddings")
      )
      sentence_embeddings = (
          SentenceEmbeddings()
          .setInputCols(["sentence", "embeddings"])
          .setOutputCol("sentence_embeddings")
          .setPoolingStrategy("AVERAGE")
      )
      embeddings_finisher = (
          EmbeddingsFinisher()
          .setInputCols("sentence_embeddings")
          .setOutputCols("sentence_embeddings_vectors")
          .setOutputAsVector(True)
      )
      explode_vectors = SQLTransformer(
          statement="SELECT EXPLODE(sentence_embeddings_vectors) AS features, * FROM __THIS__"
      )
      kmeans = KMeans().setK(2).setSeed(1).setFeaturesCol("features")
  
      pipeline = Pipeline(
          stages=[
              document_assembler,
              sentence_detector,
              tokenizer,
              glove,
              sentence_embeddings,
              embeddings_finisher,
              explode_vectors,
              kmeans,
          ]
      )
  
      model = pipeline.fit(self.data)
      model.transform(self.data).show()
      # Save model
      model.write().overwrite().save("./tmp_model")
      # Load model
      PipelineModel.load("./tmp_model")
  
file_path: spark-nlp/python/test/annotator/embeddings/embeddings_finisher_test.py
imports: import os
  import unittest
  import pytest
  from pyspark.ml.clustering import KMeans
  from pyspark.ml.feature import SQLTransformer
  from sparknlp.annotator import *
  from sparknlp.base import *
  from test.util import SparkContextForTest
label_desc: Use image node_id 2 for calling the EmbeddingsFinisherTestSpec obj's underlying member method code with example usage: obj.runTest() without return types