<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Cannot serialize this model error when attempting MLFlow for SparkNLP in Machine Learning</title>
    <link>https://community.databricks.com/t5/machine-learning/cannot-serialize-this-model-error-when-attempting-mlflow-for/m-p/32983#M1746</link>
    <description>&lt;P&gt;&lt;B&gt;I'm attempting to use MLFlow to register models in Databricks and am following the recipe at...&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://nlp.johnsnowlabs.com/docs/en/licensed_serving_spark_nlp_via_api_databricks_mlflow" alt="https://nlp.johnsnowlabs.com/docs/en/licensed_serving_spark_nlp_via_api_databricks_mlflow" target="_blank"&gt;&lt;B&gt;&lt;/B&gt;&lt;/A&gt;&lt;A href="https://nlp.johnsnowlabs.com/docs/en/licensed_serving_spark_nlp_via_api_databricks_mlflow" target="test_blank"&gt;https://nlp.johnsnowlabs.com/docs/en/licensed_serving_spark_nlp_via_api_databricks_mlflow&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;when i execute...&lt;/B&gt;&lt;/P&gt;&lt;P&gt;mlflow.spark.log_model(pipeline, "lemmatizer", conda_env=conda_env)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;i get the following error....&lt;/B&gt;&lt;/P&gt;&lt;P&gt;MlflowException: Cannot serialize this model. MLflow can only save descendants of pyspark.Modelthat implement MLWritable and MLReadable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can anyone help?&lt;/P&gt;</description>
    <pubDate>Wed, 31 Aug 2022 00:34:04 GMT</pubDate>
    <dc:creator>Slalom_Tobias</dc:creator>
    <dc:date>2022-08-31T00:34:04Z</dc:date>
    <item>
      <title>Cannot serialize this model error when attempting MLFlow for SparkNLP</title>
      <link>https://community.databricks.com/t5/machine-learning/cannot-serialize-this-model-error-when-attempting-mlflow-for/m-p/32983#M1746</link>
      <description>&lt;P&gt;&lt;B&gt;I'm attempting to use MLFlow to register models in Databricks and am following the recipe at...&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://nlp.johnsnowlabs.com/docs/en/licensed_serving_spark_nlp_via_api_databricks_mlflow" alt="https://nlp.johnsnowlabs.com/docs/en/licensed_serving_spark_nlp_via_api_databricks_mlflow" target="_blank"&gt;&lt;B&gt;&lt;/B&gt;&lt;/A&gt;&lt;A href="https://nlp.johnsnowlabs.com/docs/en/licensed_serving_spark_nlp_via_api_databricks_mlflow" target="test_blank"&gt;https://nlp.johnsnowlabs.com/docs/en/licensed_serving_spark_nlp_via_api_databricks_mlflow&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;when i execute...&lt;/B&gt;&lt;/P&gt;&lt;P&gt;mlflow.spark.log_model(pipeline, "lemmatizer", conda_env=conda_env)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;i get the following error....&lt;/B&gt;&lt;/P&gt;&lt;P&gt;MlflowException: Cannot serialize this model. MLflow can only save descendants of pyspark.Modelthat implement MLWritable and MLReadable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can anyone help?&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2022 00:34:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/cannot-serialize-this-model-error-when-attempting-mlflow-for/m-p/32983#M1746</guid>
      <dc:creator>Slalom_Tobias</dc:creator>
      <dc:date>2022-08-31T00:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot serialize this model error when attempting MLFlow for SparkNLP</title>
      <link>https://community.databricks.com/t5/machine-learning/cannot-serialize-this-model-error-when-attempting-mlflow-for/m-p/32985#M1748</link>
      <description>&lt;P&gt;Hi @Tobias Cortese​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We'd love to hear from you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Sep 2022 07:46:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/cannot-serialize-this-model-error-when-attempting-mlflow-for/m-p/32985#M1748</guid>
      <dc:creator>Vidula</dc:creator>
      <dc:date>2022-09-17T07:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot serialize this model error when attempting MLFlow for SparkNLP</title>
      <link>https://community.databricks.com/t5/machine-learning/cannot-serialize-this-model-error-when-attempting-mlflow-for/m-p/32986#M1749</link>
      <description>&lt;P&gt;I haven't found a solution within the documentation.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 05:15:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/cannot-serialize-this-model-error-when-attempting-mlflow-for/m-p/32986#M1749</guid>
      <dc:creator>Slalom_Tobias</dc:creator>
      <dc:date>2022-09-26T05:15:13Z</dc:date>
    </item>
  </channel>
</rss>

