mirror of
https://github.com/mudler/LocalAI.git
synced 2025-06-20 01:34:59 +00:00
chore(model gallery): update deepseek-r1 prompt template (#4686)
Signed-off-by: Gianluca Boiano <morf3089@gmail.com>
This commit is contained in:
parent
9409c99738
commit
e9cace137b
2 changed files with 24 additions and 1 deletions
23
gallery/deepseek-r1.yaml
Normal file
23
gallery/deepseek-r1.yaml
Normal file
|
@ -0,0 +1,23 @@
|
|||
---
|
||||
name: "deepseek-r1"
|
||||
|
||||
config_file: |
|
||||
context_size: 131072
|
||||
mmap: true
|
||||
f16: true
|
||||
stopwords:
|
||||
- <|begin▁of▁sentence|>
|
||||
- <|end▁of▁sentence|>
|
||||
- <|User|>
|
||||
- <|Assistant|>
|
||||
template:
|
||||
chat_message: |
|
||||
{{if eq .RoleName "system" -}}{{.Content }}
|
||||
{{ end -}}
|
||||
{{if eq .RoleName "user" -}}<|User|>{{.Content}}
|
||||
{{end -}}
|
||||
{{if eq .RoleName "assistant" -}}<|Assistant|>{{.Content}}<|end▁of▁sentence|>{{end}}
|
||||
completion: |
|
||||
{{.Input}}
|
||||
chat: |
|
||||
{{.Input -}}<|Assistant|>
|
Loading…
Add table
Add a link
Reference in a new issue