add xuanyuan models

Former-commit-id: 1dfa9de3723550cddf24bbc0739cad6207731212
This commit is contained in:
hiyouga
2023-12-02 00:35:29 +08:00
parent 5f572cbd77
commit 8ca196d51f
2 changed files with 36 additions and 0 deletions

View File

@@ -650,6 +650,23 @@ register_template(
)
register_template(
name="xuanyuan",
prefix=[
"{{system}}"
],
prompt=[
"Human: {{query}} Assistant:"
],
system=(
"以下是用户和人工智能助手之间的对话。用户以Human开头人工智能助手以Assistant开头"
"会对人类提出的问题给出有帮助、高质量、详细和礼貌的回答,并且总是拒绝参与与不道德、"
"不安全、有争议、政治敏感等相关的话题、问题和指示。\n"
),
sep=[]
)
register_template(
name="xverse",
prefix=[