Models
Docs
Pricing
Sign in
Download
Models
Download
Docs
Pricing
Sign in
R4C3R
/
llama3.2-1b-heretic
:latest
64
Downloads
Updated
1 week ago
A decensored multilingual 1B Llama 3.2 model with suppressed refusal behavior. Made by RACER IS OP.
A decensored multilingual 1B Llama 3.2 model with suppressed refusal behavior. Made by RACER IS OP.
Cancel
tools
llama3.2-1b-heretic:latest
...
/
template
8c83de5dd87a · 2.0kB
{{- if .Messages }}
{{- if or .System .Tools }}<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
{{- if .System }}
{{ .System }}
{{- end }}
{{- if .Tools }}
# Tools
You may call one or more functions to assist with the user query.
You are provided with function signatures within <tools></tools> XML tags:
<tools>
{{- range .Tools }}
{"type": "function", "function": {{ .Function }}}
{{- end }}
</tools>
For each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:
<tool_call>
{"name": <function-name>, "arguments": <args-json-object>}
</tool_call>
{{- end }}<|eot_id|>
{{- else if .System }}<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
{{ .System }}<|eot_id|>
{{- else }}<|begin_of_text|>
{{- end }}
{{- range $i, $_ := .Messages }}
{{- $last := eq (len (slice $.Messages $i)) 1 }}
{{- if eq .Role "user" }}<|start_header_id|>user<|end_header_id|>
{{ .Content }}<|eot_id|>
{{- else if eq .Role "assistant" }}<|start_header_id|>assistant<|end_header_id|>
{{- if .Content }}
{{ .Content }}
{{- else if .ToolCalls }}<tool_call>
{{- range .ToolCalls }}{"name": "{{ .Function.Name }}", "arguments": {{ .Function.Arguments }}}
{{- end }}</tool_call>
{{- end }}{{ if not $last }}<|eot_id|>
{{ end }}
{{- else if eq .Role "tool" }}<|start_header_id|>ipython<|end_header_id|>
{{ .Content }}<|eot_id|>
{{- end }}
{{- if and (ne .Role "assistant") $last }}<|start_header_id|>assistant<|end_header_id|>
{{ end }}
{{- end }}
{{- else }}
{{- if .System }}<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
{{ .System }}<|eot_id|>
{{- else }}<|begin_of_text|>
{{- end }}{{ if .Prompt }}<|start_header_id|>user<|end_header_id|>
{{ .Prompt }}<|eot_id|>
{{- end }}<|start_header_id|>assistant<|end_header_id|>
{{ end }}{{ .Response }}{{ if .Response }}<|eot_id|>{{ end }}