merge data part to the text stream
Former-commit-id: 80537d580119d9d5a06ab236a5284aaae2f83b5b
This commit is contained in:
@@ -1012,8 +1012,8 @@ _register_template(
|
||||
|
||||
_register_template(
|
||||
name="llava",
|
||||
format_user=StringFormatter(slots=["USER: {{content}} "]),
|
||||
format_assistant=StringFormatter(slots=["ASSISTANT: {{content}}"]),
|
||||
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."
|
||||
|
||||
Reference in New Issue
Block a user