LocalAI / gallery /deepseek-r1.yaml
AbdulElahGwaith's picture
Upload folder using huggingface_hub
0f07ba7 verified
---
name: "deepseek-r1"
config_file: |
backend: "llama-cpp"
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|>