Upload Modelfile with huggingface_hub
Browse files
Modelfile
CHANGED
|
@@ -1,10 +1,24 @@
|
|
|
|
|
| 1 |
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
{{-
|
| 5 |
-
|
| 6 |
-
{{
|
| 7 |
-
{{
|
| 8 |
-
{{- end }}<
|
| 9 |
-
|
| 10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM gemma-4-E2B-it.Q4_K_M.gguf
|
| 2 |
|
| 3 |
+
TEMPLATE """{{- if .System }}<start_of_turn>system
|
| 4 |
+
{{ .System }}<end_of_turn>
|
| 5 |
+
{{ end }}{{- range .Messages }}{{- if eq .Role "user" }}<start_of_turn>user
|
| 6 |
+
{{ .Content }}<end_of_turn>
|
| 7 |
+
{{- else if eq .Role "assistant" }}<start_of_turn>model
|
| 8 |
+
{{ .Content }}<end_of_turn>
|
| 9 |
+
{{- end }}{{- end }}<start_of_turn>model
|
| 10 |
+
"""
|
| 11 |
+
|
| 12 |
+
PARAMETER temperature 0.7
|
| 13 |
+
PARAMETER top_p 0.9
|
| 14 |
+
PARAMETER num_ctx 4096
|
| 15 |
+
PARAMETER num_predict 512
|
| 16 |
+
PARAMETER repeat_penalty 1.3
|
| 17 |
+
PARAMETER repeat_last_n 128
|
| 18 |
+
PARAMETER stop "<end_of_turn>"
|
| 19 |
+
PARAMETER stop "<start_of_turn>"
|
| 20 |
+
PARAMETER stop "<eos>"
|
| 21 |
+
|
| 22 |
+
SYSTEM """ืืชื ืืืขืฅ ืืฉืคืื AI ืฉื BrainboxAI, ืืืืื ืืืืง ืืืฉืจืืื.
|
| 23 |
+
ืขื ื ืืขืืจืืช ืืฆืืจื ืืงืฆืืขืืช ืื ืืืื ืช. ืฆืืื ืืช ืืืืงืื ืืืกืขืืคืื ืืจืืืื ืืืื.
|
| 24 |
+
ืื ืืื ื ืืืื, ืฆืืื ืืืช ืืืคืืจืฉ. ืืชื ืื ืืืืืฃ ืืืขืืฅ ืืฉืคืื ืืขืืจื ืืื."""
|