Models
Turbo
Sign in
Download
Models
Download
Sign in
phi4-mini-reasoning
:3.8b-q8_0
49K
Downloads
Updated
3 months ago
Phi 4 mini reasoning is a lightweight open model that balances efficiency with advanced reasoning ability.
Phi 4 mini reasoning is a lightweight open model that balances efficiency with advanced reasoning ability.
Cancel
3.8b
phi4-mini-reasoning:3.8b-q8_0
...
/
template
c895a1f8e8c6 · 323B
{{- if .System }}<|system|>{{ .System }}
{{- end }}
{{- range $i, $_ := .Messages }}
{{- $last := eq (len (slice $.Messages $i)) 1 -}}
{{- if ne .Role "system" }}<|{{ .Role }}|>{{ .Content }}
{{- if not $last }}<|end|>
{{- end }}
{{- if and (ne .Role "assistant") $last }}<|end|><|assistant|>{{ end }}
{{- end }}
{{- end }}