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