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_template_with_input = """下面是一条描述任务的指令,辅以一个提供进一步上下文的输入。请编写一个能合理完成请求的响应。
{instruction}
{input}
prompt_template_without_input = """下面是一条描述任务的指令。编写一个能合理完成请求的响应。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
例如第四部分,指令微调
定义两个字符串模板:一个用于有输入字段的数据点,另一个用于没有输入字段的数据点
prompt_template_with_input = """下面是一条描述任务的指令,辅以一个提供进一步上下文的输入。请编写一个能合理完成请求的响应。
Instruction:
{instruction}
Input:
{input}
Response:"""
prompt_template_without_input = """下面是一条描述任务的指令。编写一个能合理完成请求的响应。
Instruction:
{instruction}
Reponse:"""
The text was updated successfully, but these errors were encountered: