g</code></strong>:<code>Optional</code>[<code>bool</code>]=<em><code>None</code></em>, <strong><code>num_beams</code></strong>:<code>Optional</code>[<code>int</code>]=<em><code>None</code></em>, <strong><code>temperature</code></strong>:<code>Optional</code>[<code>float</code>]=<em><code>None</code></em>, <strong><code>top_k</code></strong>:<code>Optional</code>[<code>int</code>]=<em><code>None</code></em>, <strong><code>top_p</code></strong>:<code>Optional</code>[<code>float</code>]=<em><code>None</code></