官网给的是 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
)
到底是哪一种?我微调的时候用第一个模板,效果就是狗屎,用第二个正常