Upload Modelfile with huggingface_hub
Browse files12345678910# ollama modelfile auto-generated by llamafactory
FROM .
TEMPLATE """{{ if .System }}{{ .System }}{{ end }}{{ range .Messages }}{{ if eq .Role "user" }}USER: {{ .Content }} ASSISTANT:{{ else if eq .Role "assistant" }}{{ .Content }}</s>{{ end }}{{ end }}"""
SYSTEM """A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions."""
PARAMETER stop "</s>"PARAMETER num_ctx 4096ModelfileAdded+10