mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-18 12:26:26 +00:00
fix(gemma): correctly format the template
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
This commit is contained in:
parent
29ff51c12a
commit
77d752a481
@ -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}}
|
||||
|
Loading…
Reference in New Issue
Block a user