pan class="sd">        spark_session : pyspark.sql.SparkSession</span>
<span class="sd">            The current SparkSession</span>

<span class="sd">        Returns</span>
<span class="sd">        -------</span>
<span class="sd">        T5Transformer</span>
<span class="sd">            The restored model</span>
<span class="sd">        &quot;&quot;&quot;</span>
        <span class="kn">from</span><span class="w"> </span><span class="nn">sparknlp.internal</span><span class="w"> </span><span class="kn">impor