Models
GitHub
Discord
Turbo
Sign in
Download
Models
Download
GitHub
Discord
Sign in
phi4
:14b
4.2M
Downloads
Updated
7 months ago
Phi-4 is a 14B parameter, state-of-the-art open model from Microsoft.
Phi-4 is a 14B parameter, state-of-the-art open model from Microsoft.
Cancel
14b
phi4:14b
...
/
template
32695b892af8 · 275B
{{- range $i, $_ := .Messages }}
{{- $last := eq (len (slice $.Messages $i)) 1 -}}
<|im_start|>{{ .Role }}<|im_sep|>
{{ .Content }}{{ if not $last }}<|im_end|>
{{ end }}
{{- if and (ne .Role "assistant") $last }}<|im_end|>
<|im_start|>assistant<|im_sep|>
{{ end }}
{{- end }}