Solar Pro Preview: an advanced large language model (LLM) with 22 billion parameters designed to fit into a single GPU
22b
20.6K Pulls Updated 8 weeks ago
b997696d9c92 · 232B
{{- range $index, $_ := .Messages }}<|im_start|>{{ .Role }}
{{ .Content }}
{{- if eq (len (slice $.Messages $index)) 1 }}
{{- if eq .Role "user" }}<|im_end|>
<|im_start|>assistant
{{ end }}
{{- else }}<|im_end|>
{{ end }}
{{- end }}