初始化项目,由ModelHub XC社区提供模型

Model: unsloth/DeepSeek-R1-0528-Qwen3-8B-GGUF
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-08-02 08:05:13 +08:00
commit 9d00b9d0cc
33 changed files with 466 additions and 0 deletions

20
template Normal file
View File

@@ -0,0 +1,20 @@
{{- 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>
{{- if and $.IsThinkSet (and $last .Thinking) -}}
<think>
{{ .Thinking }}
</think>
{{- end }}{{ .Content }}{{- if not $last }}<end▁of▁sentence>{{- end }}
{{- end }}
{{- if and $last (ne .Role "assistant") }}<Assistant>
{{- if and $.IsThinkSet (not $.Think) -}}
<think>
</think>
{{ end }}
{{- end -}}
{{- end }}