Spaces:
Sleeping
Sleeping
Update app_v2.py
Browse files
app_v2.py
CHANGED
@@ -85,7 +85,7 @@ def apply_prompt_syntax(prompt, system_prompt, prompt_template, bake_in_prompt_s
|
|
85 |
"granite_code - with system": """System:\n{system_prompt}\n\nQuestion:\n{prompt}\n\nAnswer:\n""",
|
86 |
"granite_code - instruction only": """Question:\n{prompt}\n\nAnswer:\n""",
|
87 |
### Mistral Models
|
88 |
-
"mistral_large - sys": """[INST] {system_prompt}
|
89 |
# "mistral_large - sys": """[INST] {system_prompt}\n\nUser Input:{prompt}[/INST]""", ### mistral-large-2407
|
90 |
|
91 |
"mistral_large - sys base": """[INST] {system_prompt}\n\n{prompt}[/INST]""", ### mistral-large-2407
|
|
|
85 |
"granite_code - with system": """System:\n{system_prompt}\n\nQuestion:\n{prompt}\n\nAnswer:\n""",
|
86 |
"granite_code - instruction only": """Question:\n{prompt}\n\nAnswer:\n""",
|
87 |
### Mistral Models
|
88 |
+
"mistral_large - sys": """[INST] {system_prompt}[/INST][INST]{prompt}[/INST]\n""", ### mistral-large-2407
|
89 |
# "mistral_large - sys": """[INST] {system_prompt}\n\nUser Input:{prompt}[/INST]""", ### mistral-large-2407
|
90 |
|
91 |
"mistral_large - sys base": """[INST] {system_prompt}\n\n{prompt}[/INST]""", ### mistral-large-2407
|