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
您好,注意到此版模型prompt格式调整挺大。请问长本文下(如文档问答)prompt构建与普通问答一样吗,有没什么样例呢
The text was updated successfully, but these errors were encountered:
目前的构建方式和普通问答一致,如果文档对应的string是context,问题是question,建议的方式如下:
query = '{context}\n\n{question}'.format(context, question) response, history = model.chat(tokenizer, query) print(response)
Sorry, something went wrong.
非常感谢答疑
No branches or pull requests
您好,注意到此版模型prompt格式调整挺大。请问长本文下(如文档问答)prompt构建与普通问答一样吗,有没什么样例呢
The text was updated successfully, but these errors were encountered: