takarajordan
commited on
Commit
•
a205c49
1
Parent(s):
0aa0aa6
Update Modelfile
Browse files
Modelfile
CHANGED
@@ -2,10 +2,14 @@
|
|
2 |
FROM /content/takarajordan/WorldScenario_GGUF/unsloth.F16.gguf
|
3 |
TEMPLATE """{{ if .System }}<|im_start|>system
|
4 |
{{ .System }}<|im_end|>
|
5 |
-
{{ end }}{{ if .
|
|
|
|
|
|
|
|
|
6 |
{{ .Prompt }}<|im_end|>
|
7 |
-
{{ end }}<|im_start|>assistant
|
8 |
-
{{ .Response }}<|im_end|>
|
9 |
"""
|
10 |
PARAMETER stop "<|im_start|>"
|
11 |
PARAMETER stop "<|im_end|>"
|
|
|
2 |
FROM /content/takarajordan/WorldScenario_GGUF/unsloth.F16.gguf
|
3 |
TEMPLATE """{{ if .System }}<|im_start|>system
|
4 |
{{ .System }}<|im_end|>
|
5 |
+
{{ end }}{{ range .Conversation }}{{ if eq .Role "human" }}<|im_start|>user
|
6 |
+
{{ .Content }}<|im_end|>
|
7 |
+
{{ else if eq .Role "assistant" }}<|im_start|>assistant
|
8 |
+
{{ .Content }}<|im_end|>
|
9 |
+
{{ end }}{{ end }}{{ if .Prompt }}<|im_start|>user
|
10 |
{{ .Prompt }}<|im_end|>
|
11 |
+
{{ end }}{{ if not .Response }}<|im_start|>assistant{{ else }}
|
12 |
+
{{ .Response }}<|im_end|>{{ end }}
|
13 |
"""
|
14 |
PARAMETER stop "<|im_start|>"
|
15 |
PARAMETER stop "<|im_end|>"
|