File size: 383 Bytes
34459d3
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# ollama modelfile auto-generated by llamafactory

FROM .

TEMPLATE """<bos>{{ if .System }}{{ .System }}

{{ end }}{{ range .Messages }}{{ if eq .Role "user" }}<start_of_turn>user
{{ .Content }}<end_of_turn>
<start_of_turn>model
{{ else if eq .Role "assistant" }}{{ .Content }}<end_of_turn>
{{ end }}{{ end }}"""

PARAMETER stop "<end_of_turn>"
PARAMETER num_ctx 4096