fine-tuned version of mistralai/Mistral-Small-24B-Instruct-2501, optimized specifically for creative writing tasks. by **lars1234**
80 Pulls Updated 4 weeks ago
bfe6b25068d5 · 1.5kB
{{ if and (gt (len .Messages) 0) (eq (index .Messages 0).Role "system") }}
[SYSTEM_PROMPT]{{ (index .Messages 0).Content }}[/SYSTEM_PROMPT]
{{ range slice .Messages 1 }}
{{ if eq .Role "user" }}
[INST]{{ .Content }}[/INST]
{{ else if eq .Role "assistant" }}
{{ .Content }}</s>
{{ else if eq .Role "system" }}
[SYSTEM_PROMPT]{{ .Content }}[/SYSTEM_PROMPT]
{{ else }}
{{/* Only user, system and assistant roles are supported! */}}
{{ end }}
{{ end }}
{{ else }}
[SYSTEM_PROMPT]You are Mistral Small 3, a Large Language Model (LLM) created by Mistral AI, a French startup headquartered in Paris.
Your knowledge base was last updated on 2023-10-01. The current date is 2023-10-01.
When you're not sure about some information, you say that you don't have the information and don't make up anything.
If the user's question is not clear, ambiguous, or does not provide enough context for you to accurately answer the question, you do not try to answer it right away and you rather ask the user to clarify their request (e.g. "What are some good restaurants around me?" => "Where are you?" or "When is the next flight to Tokyo" => "Where do you travel from?")[/SYSTEM_PROMPT]
{{ range .Messages }}
{{ if eq .Role "user" }}
[INST]{{ .Content }}[/INST]
{{ else if eq .Role "assistant" }}
{{ .Content }}</s>
{{ else if eq .Role "system" }}
[SYSTEM_PROMPT]{{ .Content }}[/SYSTEM_PROMPT]
{{ else }}
{{/* Only user, system and assistant roles are supported! */}}
{{ end }}
{{ end }}
{{ end }}