Skip to content

Commit

Permalink
fix(gemma): correctly format the template
Browse files Browse the repository at this point in the history
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
  • Loading branch information
mudler committed Jun 2, 2024
1 parent 29ff51c commit 77d752a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gallery/gemma.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down

0 comments on commit 77d752a

Please sign in to comment.