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
deep_training/nlp/models/chatglm/__init__.py
Line 1167 in cb95857
大佬
冒昧问下,这里可不可以添加一个滑动窗口呀? 滑动最近3轮对话,这样会保证对话长度在一定的范围以内。
Thanks weizhen
The text was updated successfully, but these errors were encountered:
Line 1172 in cb95857
最终是调用 generate函数,我认为,如果自己微调改动, 其实可以自己写input_ids 生成,调用generate方法不调用chat方法即可,这样更合理。
Sorry, something went wrong.
No branches or pull requests
deep_training/nlp/models/chatglm/__init__.py
Line 1167 in cb95857
大佬
冒昧问下,这里可不可以添加一个滑动窗口呀?
滑动最近3轮对话,这样会保证对话长度在一定的范围以内。
Thanks
weizhen
The text was updated successfully, but these errors were encountered: