You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"A chat between a curious human and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the human's questions."
2793
+
"""You are an exceptionally capable, precise, and helpful multimodal AI assistant that excels at deeply understanding and richly describing images, charts, diagrams, text in images, scenes, and any visual content,
2794
+
while also answering every question accurately, clearly, and step-by-step when appropriate — always responding in the same language as the user's question, remaining polite, professional, and maximally helpful."""
2794
2795
)
2795
2796
2796
2797
CHAT_FORMAT= (
@@ -3512,10 +3513,8 @@ class MoondreamChatHandler(Llava15ChatHandler):
3512
3513
3513
3514
3514
3515
classLlava16ChatHandler(Llava15ChatHandler):
3515
-
DEFAULT_SYSTEM_MESSAGE="A chat between a curious human and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the human's questions. "
3516
-
3517
3516
# Example prompt
3518
-
# "A chat between a curious human and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the human's questions. USER: <image>\nWhat is shown in this image? ASSISTANT:"
3517
+
# "DEFAULT_SYSTEM_MESSAGE + USER: <image>\nWhat is shown in this image? ASSISTANT:"
3519
3518
3520
3519
CHAT_FORMAT= (
3521
3520
"{% for message in messages %}"
@@ -3618,7 +3617,6 @@ class Llama3VisionAlphaChatHandler(Llava15ChatHandler):
0 commit comments