Upload Modelfile with huggingface_hub
Browse files
Modelfile
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# ollama modelfile auto-generated by llamafactory
|
| 2 |
+
|
| 3 |
+
FROM .
|
| 4 |
+
|
| 5 |
+
TEMPLATE """{{ if .System }}{{ .System }}{{ end }}{{ range .Messages }}{{ if eq .Role "user" }}USER: {{ .Content }} ASSISTANT:{{ else if eq .Role "assistant" }}{{ .Content }}</s>{{ end }}{{ end }}"""
|
| 6 |
+
|
| 7 |
+
SYSTEM """A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions."""
|
| 8 |
+
|
| 9 |
+
PARAMETER stop "</s>"
|
| 10 |
+
PARAMETER num_ctx 4096
|