With the current Transformers library code, max_new_tokens
takes precedence over max_length
, so specifying max_new_tokens
is the simplest approach.
1 Like
With the current Transformers library code, max_new_tokens
takes precedence over max_length
, so specifying max_new_tokens
is the simplest approach.