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

FROM .

TEMPLATE """<|endoftext|>{{ if .System }}{{ .System }}{{ end }}{{ range .Messages }}{{ if eq .Role "user" }}<|user|>
{{ .Content }}<|assistant|>
{{ else if eq .Role "assistant" }}{{ .Content }}<|endoftext|>{{ end }}{{ end }}"""

PARAMETER stop "<|endoftext|>"
PARAMETER num_ctx 4096