TroyDoesAI commited on
Commit
4222dd5
·
verified ·
1 Parent(s): efd173d

One Size Fits All Ollama ModelFile

Browse files
Files changed (1) hide show
  1. Modelfile +90 -0
Modelfile ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM ./AgentFlow-3B.gguf
2
+
3
+ # set the temperature to 1 [higher is more creative, lower is more coherent]
4
+ PARAMETER temperature 0.644224422442
5
+ PARAMETER num_ctx 4096
6
+ # PARAMETER num_gpu 42
7
+ # PARAMETER num_thread 2
8
+ PARAMETER stop "</s>"
9
+ PARAMETER stop "<s>"
10
+ PARAMETER stop "<br/>"
11
+ PARAMETER stop "<br>"
12
+ PARAMETER stop "<|im_start|>"
13
+ PARAMETER stop "<|user|>"
14
+ PARAMETER stop "<|end|>"
15
+ PARAMETER stop "<|im_end|>"
16
+ PARAMETER stop "<|`end `|>"
17
+ PARAMETER stop "<|` end `|>"
18
+ PARAMETER stop "<|` end`|>"
19
+ PARAMETER stop "<|`---`|>"
20
+ PARAMETER stop "<|endoftext|>"
21
+
22
+ PARAMETER stop "\n\n\n"
23
+ PARAMETER stop "BEGININPUT"
24
+ PARAMETER stop "ENDINPUT"
25
+ PARAMETER stop "BEGINCONTEXT"
26
+ PARAMETER stop "ENDCONTEXT"
27
+ PARAMETER stop "BEGININSTRUCTION"
28
+ PARAMETER stop "ENDINSTRUCTION"
29
+
30
+ # PARAMETER repeat_penalty 1.6
31
+
32
+ # PARAMETER num_predict -2
33
+
34
+ PARAMETER stop "<|start_header_id|>"
35
+ PARAMETER stop "<|end_header_id|>"
36
+ PARAMETER stop "<|eot_id|>"
37
+ PARAMETER stop "<|reserved_special_token"
38
+ PARAMETER stop "<|system|>"
39
+ PARAMETER stop " \`\`\` "
40
+
41
+ # # set the system prompt
42
+ # TEMPLATE """
43
+ # <|im_start|> {{ if .System }}{{ .System }}{{ end }}{{ if .Prompt }} {{ .Prompt }} {{ end }}
44
+ # <|im_start|> {{ if .System }}{{ .System }}{{ end }} {{ .Response }} <|im_end|>
45
+ # """
46
+
47
+ # set the system prompt
48
+ # TEMPLATE """
49
+ # {{ if .System }}<|system|>
50
+ # {{ .System }}<|end|>
51
+ # {{ end }}{{ if .Prompt }}<|user|>
52
+ # {{ .Prompt }}<|end|>
53
+ # {{ end }}<|assistant|>
54
+ # {{ .Response }}<|end|>
55
+ # """
56
+
57
+
58
+ # TEMPLATE """
59
+ # BEGININPUT
60
+ # BEGINCONTEXT
61
+ # ENDCONTEXT
62
+ # {{ if .System }}<|system|>:{{ .System }}{{ end }}
63
+ # ENDINPUT
64
+ # BEGININSTRUCTION
65
+ # {{ if .Prompt }}{{ .Prompt }}{{ end }}
66
+ # ENDINSTRUCTION
67
+ # ### Contextual Response
68
+ # {{ .Response }}
69
+ # """
70
+
71
+ # TEMPLATE """
72
+ # Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
73
+
74
+
75
+ # {{ if .System }}### Instruction:
76
+ # {{ .System }}{{ end }}
77
+
78
+ # {{ if .Prompt }}### Input:
79
+ # {{ .Prompt }}{{ end }}
80
+
81
+ # ### Response:
82
+ # """
83
+
84
+ TEMPLATE """
85
+ {{ if .Prompt }}{{ .Prompt }}{{ end }}
86
+ <|flow|>
87
+ ```mermaid
88
+ {{ .Response }}
89
+ ```
90
+ """