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里的英文不应该翻译,示例用的模型应该没有中文能力 #166

Open
yinpengji opened this issue Jul 28, 2024 · 0 comments

Comments

@yinpengji
Copy link

例如第四部分,指令微调

定义两个字符串模板:一个用于有输入字段的数据点,另一个用于没有输入字段的数据点

prompt_template_with_input = """下面是一条描述任务的指令,辅以一个提供进一步上下文的输入。请编写一个能合理完成请求的响应。

Instruction:

{instruction}

Input:

{input}

Response:"""

prompt_template_without_input = """下面是一条描述任务的指令。编写一个能合理完成请求的响应。

Instruction:

{instruction}

Reponse:"""

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

1 participant