mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-18 20:27:57 +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: |-
|
chat_message: |-
|
||||||
<start_of_turn>{{if eq .RoleName "assistant" }}model{{else}}{{ .RoleName }}{{end}}
|
<start_of_turn>{{if eq .RoleName "assistant" }}model{{else}}{{ .RoleName }}{{end}}
|
||||||
{{ if .Content -}}
|
{{ if .Content -}}
|
||||||
{{.Content }}
|
{{.Content -}}
|
||||||
{{ end -}}<end_of_turn>
|
{{ end -}}<end_of_turn>
|
||||||
chat: |
|
chat: |
|
||||||
{{.Input -}}
|
{{.Input }}
|
||||||
<start_of_turn>model
|
<start_of_turn>model
|
||||||
completion: |
|
completion: |
|
||||||
{{.Input}}
|
{{.Input}}
|
||||||
|
Loading…
Reference in New Issue
Block a user