🚨Refactor: Update text2text generation pipelines to use max_new_tokens… (#40928)
* Refactor: Update text2text generation pipelines to use max_new_tokens and resolve max_length warning
* docs(text2text_generation): 更新参数注释以反映现代生成实践
将max_length参数注释更新为max_new_tokens,以符合现代生成实践中指定生成新token数量的标准做法
* refactor(text2text_generation): Remove outdated input validation logic
* docs(text2text_generation): Revert incorrectly modified comment
* docs(text2text_generation): Revert incorrectly modified comment