Models
GitHub
Discord
Docs
Cloud
Sign in
Download
Models
Download
GitHub
Discord
Docs
Cloud
Sign in
seamon67
/
Ministral-3-Reasoning
:14b-q4_K_M
168
Downloads
Updated
1 week ago
The Ministral 3 family is designed for edge deployment, capable of running on a wide range of hardware.
The Ministral 3 family is designed for edge deployment, capable of running on a wide range of hardware.
Cancel
vision
tools
thinking
14b
Ministral-3-Reasoning:14b-q4_K_M
...
/
template
8160a6760d1e · 983B
{{- range $index, $_ := .Messages }}
{{- $last := eq (len (slice $.Messages $index)) 1}}
{{- if eq .Role "user" }}
{{- if and (le (len (slice $.Messages $index)) 2) $.Tools }}[AVAILABLE_TOOLS]{{ $.Tools }}[/AVAILABLE_TOOLS]
{{- end }}[INST]{{ .Content }}[/INST]
{{- if eq (len (slice $.Messages $index)) 1}}[SYSTEM_PROMPT]{{ $.System }}[/SYSTEM_PROMPT]
{{- end }}
{{- else if eq .Role "assistant" }}
{{- if and $.IsThinkSet (and $last .Thinking) -}}
[THINK]{{ .Thinking }}[/THINK]
{{- end }}
{{- if .Content }}{{ .Content }}
{{- if not (eq (len (slice $.Messages $index)) 1) }}</s>
{{- end }}
{{- else if .ToolCalls }}[TOOL_CALLS]
{{- range .ToolCalls }}{"name": "{{ .Function.Name }}", "arguments": {{ .Function.Arguments }}}
{{- end }}]</s>
{{- end }}
{{- else if eq .Role "tool" }}[TOOL_RESULTS]{"content": {{ .Content }}}[/TOOL_RESULTS]
{{- end }}
{{- if and $last (ne .Role "assistant") }}{{ if and $.IsThinkSet (not $.Think) -}}[THINK]
[/THINK]
{{- end }}
{{- end }}
{{- end }}