mirror of
https://github.com/modelscope/modelscope.git
synced 2026-05-18 13:15:06 +02:00
Separate the `generate` function, no longer use the implementation in the transformers library to avoid error due to transformers version upgrades. Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/12340643