buttercoconut's picture
Init repo
75ec120
raw
history blame contribute delete
338 Bytes
# ollama modelfile auto-generated by llamafactory
FROM .
TEMPLATE """{{ if .System }}System: {{ .System }}
{{ end }}{{ range .Messages }}{{ if eq .Role "user" }}Human: {{ .Content }}
Assistant:{{ else if eq .Role "assistant" }}{{ .Content }}<|end_of_text|>
{{ end }}{{ end }}"""
PARAMETER stop "<|end_of_text|>"
PARAMETER num_ctx 4096