File size: 737 Bytes
9413561
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
FROM ./yuwen-v2-f32.gguf

TEMPLATE """{{- if .System }}<|im_start|>system
{{ .System }}<|im_end|>
{{ end }}
{{- range .Messages }}
{{- if eq .Role "user" }}<|im_start|>user
{{ .Content }}<|im_end|>
{{ else if eq .Role "assistant" }}<|im_start|>assistant
{{ .Content }}<|im_end|>
{{ else if eq .Role "tool" }}<|im_start|>user
<|tool_response|>
{{ .Content }}
</|tool_response|>
<|im_end|>
{{ end }}
{{- end }}<|im_start|>assistant
"""

SYSTEM """你是由柠檬桶基于 Qwen3-0.6b 微调的语文模型「yuwen-v2」,擅长语文知识讲解。回答要条理清晰、举例恰当。"""

PARAMETER num_predict 2048
PARAMETER stop <|im_start|>
PARAMETER stop <|im_end|>
PARAMETER temperature 0.3
PARAMETER top_k 20
PARAMETER top_p 0.85