mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-18 20:27:57 +00:00
21 lines
408 B
YAML
21 lines
408 B
YAML
|
---
|
||
|
name: "gemma"
|
||
|
|
||
|
config_file: |
|
||
|
mmap: true
|
||
|
context_size: 8192
|
||
|
template:
|
||
|
chat_message: |-
|
||
|
<start_of_turn>{{if eq .RoleName "assistant" }}model{{else}}{{ .RoleName }}{{end}}
|
||
|
{{ if .Content -}}
|
||
|
{{.Content }}
|
||
|
{{ end -}}<end_of_turn>
|
||
|
chat: |
|
||
|
{{.Input -}}
|
||
|
<start_of_turn>model
|
||
|
completion: |
|
||
|
{{.Input}}
|
||
|
stopwords:
|
||
|
- '<|im_end|>'
|
||
|
- '<end_of_turn>'
|