TheMindExpansionNetwork's picture
Upload Modelfile
f98ef03 verified
raw
history blame contribute delete
720 Bytes
FROM hf.co/TheMindExpansionNetwork/CannaPyrimid-Q4_K_M-GGUF:latest
PARAMETER temperature 0.6
PARAMETER top_p 0.9
# bump context so system prompts show
PARAMETER num_ctx 12288
PARAMETER stop "<|im_end|>"
SYSTEM ""
TEMPLATE """{{- $lastUserIdx := -1 -}}
{{- range $idx, $msg := .Messages -}}
{{- if eq $msg.Role "user" }}{{- $lastUserIdx = $idx }}{{- end -}}
{{- end -}}
{{- range $idx, $msg := .Messages -}}
{{- if eq $msg.Role "assistant" }}
{{- "<|im_start|>assistant\n<think>\n" -}}
{{- $msg.Content }}{{- "\n</think>\n<|im_end|>\n" -}}
{{- else }}
{{- "<|im_start|>" }}{{ $msg.Role }}{{ "\n" }}{{ $msg.Content }}{{ "\n<|im_end|>\n" }}
{{- end }}
{{- end }}"""