delete llava template (use vicuna)

Former-commit-id: 646a7885e7c721342b7f546ed717f1d4a68bc012
This commit is contained in:
hoshi-hiyouga 2024-04-26 02:20:47 +08:00 committed by GitHub
parent 4905b38c0b
commit e7725f2bbb

View File

@ -879,14 +879,3 @@ _register_template(
format_user=StringFormatter(slots=["<human>:{{content}}\n<bot>:"]),
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."
),
)