File size: 608 Bytes
0de374b
 
7418047
 
 
 
 
 
 
 
 
0de374b
 
 
 
 
 
 
7418047
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM ./xGemable-12B-coder-v1.5-Q8_0.gguf

# 對話模板: gemma4 回合標記 + 預填空思考通道(關閉推敲模式)
TEMPLATE """{{- if .System }}<|turn>system
{{ .System }}<turn|>
{{ end }}{{- if .Prompt }}<|turn>user
{{ .Prompt }}<turn|>
{{ end }}<|turn>model
<|channel>thought
<channel|>{{ .Response }}"""

# 解碼鐵則(gemma-4 極敏感,設錯會大幅劣化)
PARAMETER temperature 0.2
PARAMETER top_p 0.95
PARAMETER top_k 64
PARAMETER repeat_penalty 1.0
PARAMETER num_predict 1024

# 回合結尾與通道標記即停
PARAMETER stop "<turn|>"
PARAMETER stop "<|turn>"
PARAMETER stop "<|channel>"