File size: 474 Bytes
acb6c99
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
# ollama modelfile auto-generated by llamafactory

FROM .

TEMPLATE """{{ if .System }}{{ .System }}{{ end }}{{ range .Messages }}{{ if eq .Role "user" }}USER: {{ .Content }} ASSISTANT:{{ else if eq .Role "assistant" }}{{ .Content }}</s>{{ end }}{{ end }}"""

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."""

PARAMETER stop "</s>"
PARAMETER num_ctx 4096