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

要如何在推理代码中加入prompt,来让模型规避一些回答 #17

Open
hihaluemen opened this issue Jan 26, 2024 · 2 comments

Comments

@hihaluemen
Copy link

要如何在推理代码cli_demo.py的generate_prompt函数中加入描述,来让模型规避一些问题的回答;如何加会更有效

@jymChen
Copy link
Contributor

jymChen commented Jan 29, 2024

@hihaluemen 您好,
建议prompt可以加到问题里,因为HuatuoGPT-II没有专门设计system prompt的模版,所以如果有特殊的prompt需求,可以放到问题输入里说明清楚就可以了。

@hihaluemen
Copy link
Author

@jymChen 好的,我尝试一下。谢谢!

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