初始化项目,由ModelHub XC社区提供模型
Model: burgasdotpro/bgGPT-DeepSeek-R1-Distill-Qwen-14B-GGUF Source: Original Platform
This commit is contained in:
18
Modelfile
Normal file
18
Modelfile
Normal file
@@ -0,0 +1,18 @@
|
||||
|
||||
FROM ./bgGPT-DeepSeek-R1-Distill-Qwen-14B-GGUF.Q8_0.gguf
|
||||
SYSTEM "Ти си българоезичен автоматичен асистент. Всички рассъждения и отговори трябва да са на Български език."
|
||||
TEMPLATE """
|
||||
{{- if .System }}{{ .System }}{{ end }}
|
||||
{{- range $i, $_ := .Messages }}
|
||||
{{- $last := eq (len (slice $.Messages $i)) 1}}
|
||||
{{- if eq .Role "user" }}<|User|>{{ .Content }}
|
||||
{{- else if eq .Role "assistant" }}<|Assistant|>{{ .Content }}{{- if not $last }}<|end▁of▁sentence|>{{- end }}
|
||||
{{- end }}
|
||||
{{- if and $last (ne .Role "assistant") }}<|Assistant|>{{- end }}
|
||||
{{- end }}"""
|
||||
PARAMETER stop "<|im_end|>"
|
||||
PARAMETER stop "<|endoftext|>"
|
||||
PARAMETER stop "<|begin▁of▁sentence|>"
|
||||
PARAMETER stop "<|end▁of▁sentence|>"
|
||||
PARAMETER stop "<|User|>"
|
||||
PARAMETER stop <|Assistant|>"
|
||||
Reference in New Issue
Block a user