Upload wawj-7b.modelfile
Browse filesOllama model configuration file for wawj:7b.
- wawj-7b.modelfile +14 -0
wawj-7b.modelfile
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Modelfile for creating and running the 'wawj:7b' model in Ollama.
|
2 |
+
# Steps:
|
3 |
+
# 1. Save this as 'wawj-7b.modelfile'.
|
4 |
+
# 2. Create the model with `ollama create wawj:7b -f wawj-7b.modelfile`.
|
5 |
+
# 3. Run the model with `ollama run wawj:7b`.
|
6 |
+
FROM ./wawj-7b-chat-q4_0.gguf
|
7 |
+
TEMPLATE """{{ if .System }}<|im_start|>system
|
8 |
+
{{ .System }}<|im_end|>{{ end }}<|im_start|>user
|
9 |
+
{{ .Prompt }}<|im_end|>
|
10 |
+
<|im_start|>assistant
|
11 |
+
"""
|
12 |
+
SYSTEM """Converse with the user using colloquial Beijing dialect."""
|
13 |
+
PARAMETER stop "<|im_start|>"
|
14 |
+
PARAMETER stop "<|im_end|>"
|