fix(gemma): correctly format the template

Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
This commit is contained in:
Ettore Di Giacinto 2024-06-02 10:51:58 +02:00 committed by GitHub
parent 29ff51c12a
commit 77d752a481
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,10 +8,10 @@ config_file: |
chat_message: |-
<start_of_turn>{{if eq .RoleName "assistant" }}model{{else}}{{ .RoleName }}{{end}}
{{ if .Content -}}
{{.Content }}
{{.Content -}}
{{ end -}}<end_of_turn>
chat: |
{{.Input -}}
{{.Input }}
<start_of_turn>model
completion: |
{{.Input}}