Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

max_new_tokens报错问题 #70

Open
C-YEE00 opened this issue Dec 28, 2023 · 0 comments
Open

max_new_tokens报错问题 #70

C-YEE00 opened this issue Dec 28, 2023 · 0 comments

Comments

@C-YEE00
Copy link

C-YEE00 commented Dec 28, 2023

在运行cli_demo时,报错Input length of input_ids is 1278, but max_length is set to 1024. This can lead to unexpected behavior. You should consider increasing max_new_tokens.

我应该怎么进行截断

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant