Pinkstack commited on
Commit
290c871
·
verified ·
1 Parent(s): 4f5e65b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -58
README.md CHANGED
@@ -40,9 +40,7 @@ This is a pretty lite model which can be run on high end phones pretty quickly u
40
 
41
  To use this model, you must use a service which supports the GGUF file format.
42
  Additionaly, this is the Prompt Template options:
43
-
44
- option 2
45
-
46
  ```
47
  {{ if .System }}<|system|>
48
  {{ .System }}<|im_end|>
@@ -52,61 +50,7 @@ option 2
52
  {{ .Response }}<|im_end|>
53
  ```
54
 
55
- option 1
56
- ```
57
- <thinking>
58
-
59
- {{- if .Suffix }}<|fim_prefix|>{{ .Prompt }}<|fim_suffix|>{{ .Suffix }}<|fim_middle|>
60
- {{- else if .Messages }}
61
- {{- if or .System .Tools }}<|im_start|>system
62
- {{- if .System }}
63
- {{ .System }}
64
- {{- end }}
65
- {{- if .Tools }}
66
- # Tools
67
- You may call one or more functions to assist with the user query.
68
- You are provided with function signatures within <tools></tools> XML tags:
69
- <tools>
70
- {{- range .Tools }}
71
- {"type": "function", "function": {{ .Function }}}
72
- {{- end }}
73
- </tools>
74
- For each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:
75
- <tool_call>
76
- {"name": <function-name>, "arguments": <args-json-object>}
77
- </tool_call>
78
- {{- end }}<|im_end|>
79
- {{ end }}
80
- {{- range $i, $_ := .Messages }}
81
- {{- $last := eq (len (slice $.Messages $i)) 1 -}}
82
- {{- if eq .Role "user" }}<|im_start|>user
83
- {{ .Content }}<|im_end|>
84
- {{- else if eq .Role "assistant" }}<|im_start|>assistant
85
- {{ if .Content }}{{ .Content }}
86
- {{- else if .ToolCalls }}<tool_call>
87
- {{ range .ToolCalls }}{"name": "{{ .Function.Name }}", "arguments": {{ .Function.Arguments }}}
88
- {{ end }}</tool_call>
89
- {{- end }}{{ if not $last }}<|im_end|>
90
- {{ end }}
91
- {{- else if eq .Role "tool" }}<|im_start|>user
92
- <tool_response>
93
- {{ .Content }}
94
- </tool_response><|im_end|>
95
- {{ end }}
96
- {{- if and (ne .Role "assistant") $last }}<|im_start|>assistant
97
- {{ end }}
98
- {{- end }}
99
- {{- else }}
100
- {{- if .System }}<|im_start|>system
101
- {{ .System }}<|im_end|>
102
- {{- end }}{{ if .Prompt }}<|im_start|>user
103
- {{ .Prompt }}<|im_end|>
104
- {{ end }}<|im_start|>assistant
105
- {{ end }}{{ .Response }}{{ if .Response }}<|im_end|>{{ end }}
106
-
107
- ```
108
-
109
- Or if you are using an anti prompt: <|end|><|assistant|>
110
 
111
  Highly recommended to use with a system prompt. eg;
112
  You are a helpful assistant named Parm2 by Pinkstack. think step-by-step for complex stuff, use COT if neeed.
 
40
 
41
  To use this model, you must use a service which supports the GGUF file format.
42
  Additionaly, this is the Prompt Template options:
43
+ efficient & accurate, answers stawberry text correctly 90% of the time.
 
 
44
  ```
45
  {{ if .System }}<|system|>
46
  {{ .System }}<|im_end|>
 
50
  {{ .Response }}<|im_end|>
51
  ```
52
 
53
+ Or if you are using an anti prompt: <|im_end|>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
54
 
55
  Highly recommended to use with a system prompt. eg;
56
  You are a helpful assistant named Parm2 by Pinkstack. think step-by-step for complex stuff, use COT if neeed.