class="viewcode-back" href="../../../../reference/autosummary/sparknlp/annotator/seq2seq/t5_transformer/index.html#sparknlp.annotator.seq2seq.t5_transformer.T5Transformer.setMaxNewTokens">[docs]</a>    <span class="k">def</span><span class="w"> </span><span class="nf">setMaxNewTokens</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">value</span><span class="p">):</span>
<span class="w">        </span><span class="sd">&quot;&quot;&quot;Sets the maximum number 