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

Chinese-LLaMA-2-13B-hf样本模板prompt到底是什么样的? #128

Open
sunzhaowei opened this issue Aug 11, 2023 · 0 comments
Open

Chinese-LLaMA-2-13B-hf样本模板prompt到底是什么样的? #128

sunzhaowei opened this issue Aug 11, 2023 · 0 comments

Comments

@sunzhaowei
Copy link

官网给的是 f"### Instruction:{prompt.strip()} ### Response:"
但是LLaMA-Efficient-Tuning项目给的模板是:"User: {{query}}\nBot: "

r"""
Supports: https://github.com/CVI-SZU/Linly
"""
register_template(
    name="linly",
    prefix=[],
    prompt=[
        "User: {{query}}\nBot: "
    ],
    sep=[
        "\n"
    ],
    stop_words=[],
    use_history=True
)

到底是哪一种?我微调的时候用第一个模板,效果就是狗屎,用第二个正常

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