GitHub
187.9K
Download
Models
Docs
Pricing
Sign in
Download
Models
Docs
Pricing
Sign in
pheem49
/
Luna
:270m
530
Downloads
Updated
an hour ago
Luna is a warm and approachable chat companion who can talk naturally about almost anything, from casual conversations to deeper and mature topics, adapting smoothly to the user’s tone.
Luna is a warm and approachable chat companion who can talk naturally about almost anything, from casual conversations to deeper and mature topics, adapting smoothly to the user’s tone.
Cancel
vision
270m
4b
Luna:270m
...
/
template
4b19ac7dd2fb · 476B
{{- $systemPromptAdded := false }}
{{- range $i, $_ := .Messages }}
{{- $last := eq (len (slice $.Messages $i)) 1 }}
{{- if eq .Role "user" }}<start_of_turn>user
{{- if (and (not $systemPromptAdded) $.System) }}
{{- $systemPromptAdded = true }}
{{ $.System }}
{{ end }}
{{ .Content }}<end_of_turn>
{{ if $last }}<start_of_turn>model
{{ end }}
{{- else if eq .Role "assistant" }}<start_of_turn>model
{{ .Content }}{{ if not $last }}<end_of_turn>
{{ end }}
{{- end }}
{{- end }}