File size: 359 Bytes
b78ba14 |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
# 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 "<eos>"
PARAMETER num_ctx 4096
|