We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
作者您好!我想请问一下您所编写的ChatGLM2-6B模型的接口中有没有定义efficient_eos参数呢?如下图所示: 该参数的作用是让模型及时停止生成文本,而不是一直生成文本到max_length
The text was updated successfully, but these errors were encountered:
现在的chatglm2-6b暂时没这个参数,如果是generate接口的参数,可以在配置文件的generate_kwargs增加上去,推理时候用的配置参数是配置文件的genrate_kwargs。
Sorry, something went wrong.
好的,谢谢您
No branches or pull requests
作者您好!我想请问一下您所编写的ChatGLM2-6B模型的接口中有没有定义efficient_eos参数呢?如下图所示:

该参数的作用是让模型及时停止生成文本,而不是一直生成文本到max_length
The text was updated successfully, but these errors were encountered: