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

模型只有在生成token数达到max_length才会停下来吗?终止符不起作用? #13

Open
MissQueen opened this issue Jun 5, 2024 · 1 comment

Comments

@MissQueen
Copy link

如题,inference的时候一直重复生成直到达到max_length,终止符是不起作用还是要设置?

@zhao1iang
Copy link
Contributor

终止符需要设置,目前开源的是base模型,只会续写,不会自行终止。

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

2 participants