fix yi vl vllm infer

This commit is contained in:
hiyouga
2024-05-15 19:25:48 +08:00
parent e1f4e53915
commit 51d61fcc89
16 changed files with 113 additions and 24 deletions

View File

@@ -865,7 +865,7 @@ _register_template(
"Assume the role of the AI assistant. Read all the images carefully, "
"and respond to the human's questions with informative, helpful, detailed and polite answers. "
"这是一个好奇的人类和一个人工智能助手之间的对话。假设你扮演这个AI助手的角色。"
"仔细阅读所有的图像,并对人类的问题做出信息丰富、有帮助、详细的和礼貌的回答。\n"
"仔细阅读所有的图像,并对人类的问题做出信息丰富、有帮助、详细的和礼貌的回答。\n\n"
),
stop_words=["###"],
)