Models
GitHub
Discord
Docs
Cloud
Sign in
Download
Models
Download
GitHub
Discord
Docs
Cloud
Sign in
MartinRizzo
/
Ayla-Light-v2
:12b-q4_K_M
3,254
Downloads
Updated
9 months ago
An uncensored model derived from Mistral-Nemo (12b). It ranks top 3 on the UGI leaderboard for models of its size. It was created by "Yamata Zen" and quantized by "team mradermacher".
An uncensored model derived from Mistral-Nemo (12b). It ranks top 3 on the UGI leaderboard for models of its size. It was created by "Yamata Zen" and quantized by "team mradermacher".
Cancel
tools
Ayla-Light-v2:12b-q4_K_M
...
/
template
f023d1ce0e55 · 688B
{{- range $i, $_ := .Messages }}
{{- if eq .Role "user" }}
{{- if and $.Tools (le (len (slice $.Messages $i)) 2) }}[AVAILABLE_TOOLS] {{ $.Tools }}[/AVAILABLE_TOOLS]
{{- end }}[INST] {{ if and $.System (eq (len (slice $.Messages $i)) 1) }}{{ $.System }}
{{ end }}{{ .Content }}[/INST]
{{- else if eq .Role "assistant" }}
{{- if .Content }} {{ .Content }}{{ if not (eq (len (slice $.Messages $i)) 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 }}
{{- end }}