Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -96,12 +96,12 @@ def get_messages_formatter_type(model_name):
|
|
96 |
return MessagesFormatterType.LLAMA_3
|
97 |
elif "Mistral" in model_name:
|
98 |
return MessagesFormatterType.MISTRAL
|
99 |
-
elif "Einstein-v6-7B" in model_name:
|
100 |
-
return MessagesFormatterType.
|
101 |
elif "Phi" in model_name:
|
102 |
return MessagesFormatterType.PHI_3
|
103 |
else:
|
104 |
-
|
105 |
|
106 |
|
107 |
def write_message_to_user():
|
|
|
96 |
return MessagesFormatterType.LLAMA_3
|
97 |
elif "Mistral" in model_name:
|
98 |
return MessagesFormatterType.MISTRAL
|
99 |
+
elif "Einstein-v6-7B" in model_name or "dolphin" in model_name:
|
100 |
+
return MessagesFormatterType.CHATML
|
101 |
elif "Phi" in model_name:
|
102 |
return MessagesFormatterType.PHI_3
|
103 |
else:
|
104 |
+
return MessagesFormatterType.CHATML
|
105 |
|
106 |
|
107 |
def write_message_to_user():
|