add yivl and save processor to model_dir

Former-commit-id: ae72f745cb4f7713c3b835d11202aec19c3c5093
This commit is contained in:
BUAADreamer
2024-05-15 09:54:00 +08:00
parent 483ed64b43
commit 51795e8db1
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. "