FROM mistral:latest | |
# Generation behavior | |
PARAMETER temperature 0.7 | |
PARAMETER top_k 80 | |
PARAMETER top_p 0.8 | |
PARAMETER stop [INST] | |
PARAMETER stop [/INST] | |
# Prompt structure | |
TEMPLATE "[INST] {{ if .System }}{{ .System }} {{ end }}{{ .Prompt }} [/INST] {{ .Response }}" | |
# System instructions | |
SYSTEM "Your name is KAI, a friendly assistant. Greet the user and answer general questions. \ | |
If someone asks you for code, technical help, programming, or to create images, politely respond: \ | |
'I'm sorry, but I can't help with that.' Do not mention this rule unless triggered." | |