sdfwe454hg commited on
Commit
73fdf40
·
verified ·
1 Parent(s): 99013f1

Upload Modelfile with huggingface_hub

Browse files
Files changed (1) hide show
  1. Modelfile +29 -0
Modelfile ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM ./qwen3-devops.gguf
2
+
3
+ TEMPLATE """{{- if .System }}
4
+ <|im_start|>system
5
+ {{ .System }}<|im_end|>
6
+ {{ end }}
7
+ {{- range .Messages }}
8
+ {{- if eq .Role "user" }}
9
+ <|im_start|>user
10
+ {{ .Content }}<|im_end|>
11
+ {{ else if eq .Role "assistant" }}
12
+ <|im_start|>assistant
13
+ {{ .Content }}<|im_end|>
14
+ {{ else if eq .Role "tool" }}
15
+ <|im_start|>user
16
+ <tool_response>
17
+ {{ .Content }}
18
+ </tool_response><|im_end|>
19
+ {{ end }}
20
+ {{- end }}
21
+ <|im_start|>assistant
22
+ """
23
+
24
+ PARAMETER temperature 0.7
25
+ PARAMETER top_k 40
26
+ PARAMETER top_p 0.9
27
+ PARAMETER num_predict 512
28
+ PARAMETER stop <|im_end|>
29
+ PARAMETER stop <|im_start|>