Models
GitHub
Discord
Docs
Cloud
Sign in
Download
Models
Download
GitHub
Discord
Docs
Cloud
Sign in
huihui_ai
/
magistral-abliterated
:latest
4,184
Downloads
Updated
3 months ago
This is an uncensored version of mistralai/magistral-Small-2506 created with abliteration
This is an uncensored version of mistralai/magistral-Small-2506 created with abliteration
Cancel
thinking
24b
magistral-abliterated:latest
...
/
template
d7be94e9f19c · 568B
{{- range $i, $_ := .Messages }}
{{- $last := eq (len (slice $.Messages $i)) 1}}
{{- if eq .Role "system" }}[SYSTEM_PROMPT]{{ .Content }}[/SYSTEM_PROMPT]
{{- else if eq .Role "user" }}[INST]{{ .Content }}[/INST]
{{- else if eq .Role "assistant" }}
{{- if and $.IsThinkSet (and $last .Thinking) -}}
<think>
{{ .Thinking }}
</think>
{{- end }}
{{- if .Content }}{{ .Content }}
{{- end }}
{{- if not $last }}</s>
{{- end }}
{{- end }}
{{- if and $last (ne .Role "assistant") }}
{{- if and $.IsThinkSet (not $.Think) -}}
<think>
</think>
{{- end }}
{{- end }}
{{- end }}