GitHub
187.9K
Download
Models
Docs
Pricing
Sign in
Download
Models
Docs
Pricing
Sign in
pheem49
/
Luna
:4b
530
Downloads
Updated
16 hours 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:4b
...
/
template
e0a42594d802 · 358B
{{- range $i, $_ := .Messages }}
{{- $last := eq (len (slice $.Messages $i)) 1 }}
{{- if or (eq .Role "user") (eq .Role "system") }}<start_of_turn>user
{{ .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 }}