Models
Docs
Pricing
Sign in
Download
Models
Download
Docs
Pricing
Sign in
opencoder
:8b-instruct-q4_K_M
414.4K
Downloads
Updated
1 year ago
OpenCoder is an open and reproducible code LLM family which includes 1.5B and 8B models, supporting chat in English and Chinese languages.
OpenCoder is an open and reproducible code LLM family which includes 1.5B and 8B models, supporting chat in English and Chinese languages.
Cancel
1.5b
8b
opencoder:8b-instruct-q4_K_M
...
/
template
78a3bfe002ff · 375B
{{- if .Suffix }}<|im_start|><|fim_prefix|>{{ .Prompt }}<|fim_suffix|>{{ .Suffix }}<|fim_middle|>
{{- else if .Messages }}
{{- range $i, $_ := .Messages }}
{{- $last := eq (len (slice $.Messages $i)) 1 -}}
<|im_start|>{{ .Role }}
{{ .Content }}
{{- if not $last }}<|im_end|>
{{ else if (ne .Role "assistant") }}<|im_end|>
<|im_start|>assistant
{{ end }}
{{- end }}
{{- end }}