delete llava template (use vicuna)

Former-commit-id: 420e64970e5a0e45453041927e0366ee8beb73d5
This commit is contained in:
hoshi-hiyouga 2024-04-26 02:20:47 +08:00 committed by GitHub
parent 5d03ac642d
commit 13117b69d7

View File

@ -879,14 +879,3 @@ _register_template(
format_user=StringFormatter(slots=["<human>:{{content}}\n<bot>:"]), format_user=StringFormatter(slots=["<human>:{{content}}\n<bot>:"]),
format_separator=EmptyFormatter(slots=["\n"]), format_separator=EmptyFormatter(slots=["\n"]),
) )
_register_template(
name="llava",
format_user=StringFormatter(slots=["USER: {{content}} ASSISTANT: "]),
format_assistant=StringFormatter(slots=["{{content}}", {"eos_token"}]),
default_system=(
"A chat between a curious user and an artificial intelligence assistant. "
"The assistant gives helpful, detailed, and polite answers to the user's questions."
),
)