(Trained with Unsloth)
Browse files
Modelfile
CHANGED
|
@@ -1,17 +1,20 @@
|
|
| 1 |
-
FROM /content/cassioblaz/llama3/unsloth.Q8_0.gguf
|
| 2 |
-
|
| 3 |
-
TEMPLATE """Below are some instructions that describe some tasks. Write responses that appropriately complete each request.{{ if .Prompt }}
|
| 4 |
-
|
| 5 |
-
### Instruction:
|
| 6 |
-
{{ .Prompt }}{{ end }}
|
| 7 |
|
| 8 |
-
|
| 9 |
-
{{ .
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
|
| 2 |
+
FROM /content/cassioblaz/llama3/unsloth.Q8_0.gguf
|
| 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 |
+
PARAMETER stop "<end_of_turn>"
|
| 15 |
+
PARAMETER stop "<eos>"
|
| 16 |
+
PARAMETER temperature 0.1
|
| 17 |
+
PARAMETER min_p 0.0
|
| 18 |
+
PARAMETER top_k 64
|
| 19 |
+
PARAMETER top_p 0.95
|
| 20 |
+
PARAMETER num_predict 32768
|