Third Party Projects


There are third party projects that can integrate with Spark NLP. These packages need to be installed separately to be used.

If you’d like to integrate your application with Spark NLP, please send us a message!



Comet is a meta machine learning platform designed to help AI practitioners and teams build reliable machine learning models for real-world applications by streamlining the machine learning model lifecycle. By leveraging Comet, users can track, compare, explain and reproduce their machine learning experiments.

Comet can easily integrated into the Spark NLP workflow with the a dedicated logging class CometLogger to log training and evaluation metrics, pipeline parameters and NER visualization made with sparknlp-display.

For more information see the User Guide and for more examples see the Spark NLP Workshop.

Python API: CometLogger
Show Example
# Metrics while training an annotator can be logged with for example:

import sparknlp
from sparknlp.base import *
from sparknlp.annotator import *
from sparknlp.logging.comet import CometLogger

spark = sparknlp.start()

logger = CometLogger()

document = DocumentAssembler().setInputCol("text").setOutputCol("document")
embds = (
multiClassifier = (

logger.monitor(logdir=OUTPUT_LOG_PATH, model=multiClassifier)
trainDataset = spark.createDataFrame(
    [("Nice.", ["positive"]), ("That's bad.", ["negative"])],
    schema=["text", "labels"],

pipeline = Pipeline(stages=[document, embds, multiClassifier])

# If you are using a jupyter notebook, it is possible to display the live web
# interface with

Last updated