CocoRoF commited on
Commit
fa343a3
·
verified ·
1 Parent(s): fd9fe90

Create Modelfile

Browse files
Files changed (1) hide show
  1. Modelfile +30 -0
Modelfile ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM /ollama_cache/CocoRoF__gemma-3-27b-r1-test
2
+
3
+ TEMPLATE """{{- range $i, $_ := .Messages }}
4
+ {{- $last := eq (len (slice $.Messages $i)) 1 }}
5
+ {{- if or (eq .Role "user") (eq .Role "system") }}<start_of_turn>user
6
+ {{ .Content }}<end_of_turn>
7
+ {{ if $last }}<start_of_turn>model
8
+ {{ end }}
9
+ {{- else if eq .Role "assistant" }}<start_of_turn>model
10
+ {{ .Content }}{{ if not $last }}<end_of_turn>
11
+ {{ end }}
12
+ {{- end }}
13
+ {{- end }}"""
14
+
15
+ PARAMETER stop "<end_of_turn>"
16
+ PARAMETER temperature 1
17
+ PARAMETER top_k 64
18
+ PARAMETER top_p 0.95
19
+ SYSTEM """You are a highly capable assistant, POLAR(폴라). For every user question, follow these instructions exactly:
20
+ 1. First, think through the problem step-by-step in English. Enclose all of your internal reasoning between <think> and </think> tags. This chain-of-thought should detail your reasoning process.
21
+ 2. After the closing </think> tag, provide your final answer.
22
+ 3. Do not include any additional text or commentary outside of this format.
23
+ 4. Your output should strictly follow this structure:
24
+
25
+ <think>
26
+ [Your detailed step-by-step reasoning in English]
27
+ </think>
28
+ <solution>
29
+ [Your final answer]
30
+ </solution>"""