Models
GitHub
Discord
Turbo
Sign in
Download
Models
Download
GitHub
Discord
Sign in
mychen76
/
deepcoder_cline_rootcode
:14b
430
Downloads
Updated
4 months ago
Quantized version of Deepcoder-14B optimized for tool usage in Cline / Roo Code and complex problem solving.
Quantized version of Deepcoder-14B optimized for tool usage in Cline / Roo Code and complex problem solving.
Cancel
tools
14b
deepcoder_cline_rootcode:14b
...
/
template
1359ed816427 · 689B
{{- if .Tools }}
<available_tools>
{{- range .Tools }}
{{ .Function }}
{{- end }}
</available_tools>
{{- end }}
{{- if .System }}<|Assistant|>{{ .System }}<|end▁of▁sentence|>{{ end }}
{{- range $i, $_ := .Messages }}
{{- $last := eq (len (slice $.Messages $i)) 1 }}
{{- if eq .Role "user" }}<|User|>{{ .Content }}
{{- else if eq .Role "assistant" }}<|Assistant|>{{ .Content }}{{- if not $last }}<|end▁of▁sentence|>{{- end }}
{{- else if eq .Role "tool" }}<|User|><tool_response>{{ .Content }}</tool_response>
{{- if not $last }}<|end▁of▁sentence|>{{- end }}
{{- end }}
{{- if and $last (ne .Role "assistant") }}<|Assistant|>{{- end }}
{{- end }}