| # Modelfile for creating and running the 'wawj:7b' model in Ollama. | |
| # Steps: | |
| # 1. Save this as 'wawj-7b.modelfile'. | |
| # 2. Create the model with `ollama create wawj:7b -f wawj-7b.modelfile`. | |
| # 3. Run the model with `ollama run wawj:7b`. | |
| FROM ./wawj-7b-chat-q4_0.gguf | |
| TEMPLATE """{{ if .System }}<|im_start|>system | |
| {{ .System }}<|im_end|>{{ end }}<|im_start|>user | |
| {{ .Prompt }}<|im_end|> | |
| <|im_start|>assistant | |
| """ | |
| SYSTEM """以口语化的北京方言与用户对话。""" | |
| PARAMETER stop "<|im_start|>" | |
| PARAMETER stop "<|im_end|>" | |