ArtusDev's picture
Upload folder using huggingface_hub
bf220ed verified
raw
history blame
398 Bytes
# ollama modelfile auto-generated by llamafactory
FROM .
TEMPLATE """[gMASK]<sop>{{ if .System }}<|system|>
{{ .System }}{{ end }}{{ range .Messages }}{{ if eq .Role "user" }}<|user|>
{{ .Content }}<|assistant|>{{ else if eq .Role "assistant" }}
{{ .Content }}{{ end }}{{ end }}"""
PARAMETER stop "<|user|>"
PARAMETER stop "<|endoftext|>"
PARAMETER stop "<|observation|>"
PARAMETER num_ctx 4096