File size: 368 Bytes
d109cfc |
1 2 3 4 5 6 7 8 9 10 11 12 |
# ollama modelfile auto-generated by llamafactory
FROM .
TEMPLATE """{{ if .System }}System: {{ .System }}<|end_of_text|>
{{ end }}{{ range .Messages }}{{ if eq .Role "user" }}Human: {{ .Content }}<|end_of_text|>
Assistant:{{ else if eq .Role "assistant" }}{{ .Content }}<|end_of_text|>
{{ end }}{{ end }}"""
PARAMETER stop "<|end_of_text|>"
PARAMETER num_ctx 4096
|