add yivl and save processor to model_dir

This commit is contained in:
BUAADreamer
2024-05-15 09:54:00 +08:00
parent d72e6f8dfd
commit afc6c7b9fd
2 changed files with 3 additions and 2 deletions

View File

@@ -859,7 +859,7 @@ _register_template(
_register_template(
name="yivl",
format_user=StringFormatter(slots=["### Human: {{content}}\n### Assistant:"]),
format_assistant=StringFormatter(slots=[" {{content}}"]),
format_assistant=StringFormatter(slots=[" {{content}}\n"]),
stop_words=["###"],
default_system=(
"This is a chat between an inquisitive human and an AI assistant. "