update embedded templates

This commit is contained in:
Michael Yang
2024-07-10 11:00:29 -07:00
parent 41be28096a
commit 19753c18c0
25 changed files with 74 additions and 60 deletions

View File

@@ -5,11 +5,11 @@
{{- range .Messages }}<|{{ .Role }}|>
{{ .Content }}</s>
{{ end }}<|assistant|>
{{ else }}
{{ else -}}
{{ if .System }}<|system|>
{{ .System }}</s>
{{ end }}{{ if .Prompt }}<|user|>
{{ .Prompt }}</s>
{{ end }}<|assistant|>
{{ .Response }}</s>
{{- end }}
{{ end -}}