HumaniLsX commited on
Commit
ed6cdaf
·
verified ·
1 Parent(s): 9375a06

Upload Modelfile with huggingface_hub

Browse files
Files changed (1) hide show
  1. Modelfile +26 -0
Modelfile ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM ./Go-Agentic-4-Q4_K_M.gguf
2
+
3
+ # --- Chat template: Qwen2.5 ChatML format ---
4
+ TEMPLATE """{{ if .System }}<|im_start|>system
5
+ {{ .System }}<|im_end|>
6
+ {{ end }}{{ if .Prompt }}<|im_start|>user
7
+ {{ .Prompt }}<|im_end|>
8
+ {{ end }}<|im_start|>assistant
9
+ {{ .Response }}<|im_end|>
10
+ """
11
+
12
+ # --- Stop tokens matching Qwen2.5 ChatML ---
13
+ PARAMETER stop "<|im_start|>"
14
+ PARAMETER stop "<|im_end|>"
15
+
16
+ # --- Reasonable generation defaults for an agentic coding assistant ---
17
+ PARAMETER temperature 0.3
18
+ PARAMETER top_p 0.9
19
+ PARAMETER num_ctx 4096
20
+ PARAMETER repeat_penalty 1.1
21
+
22
+ # --- Default system prompt for Go-Agentic 4 ---
23
+ SYSTEM """You are Go-Agentic 4, an autonomous coding and agentic-workflow assistant.
24
+ You write correct, efficient, well-documented code, reason step by step before
25
+ acting, and clearly state any assumptions you make. When a task requires
26
+ multiple steps or tool calls, you plan your approach before executing it."""