><blockquote><p><code>GeneratePreds</code>(<strong><code>input_ids</code></strong>:<code>Optional</code>[<code>LongTensor</code>]=<em><code>None</code></em>, <strong><code>max_length</code></strong>:<code>Optional</code>[<code>int</code>]=<em><code>None</code></em>, <strong><code>min_length</code></strong>:<code>Optional</code>[<code>int</code>]=<em><code>None</code></em>, <strong><code>do_sample</code></strong>:<code>Optional</code>[<code>bool</code>]=<em><code>None</code></em>, <strong><code>early_stoppin