Skip to content

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

Description

@sunzhaowei

官网给的是 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
)

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions