Qwen2.5-1.5B-Lora-1 / Modelfile
PhongNgoGia's picture
Push model Qwen Lora
87add9f verified
raw
history blame
509 Bytes
# ollama modelfile auto-generated by llamafactory
FROM .
TEMPLATE """{{ if .System }}<|start_header_id|>system<|end_header_id|>
{{ .System }}<|eot_id|>{{ end }}{{ range .Messages }}{{ if eq .Role "user" }}<|start_header_id|>user<|end_header_id|>
{{ .Content }}<|eot_id|><|start_header_id|>assistant<|end_header_id|>
{{ else if eq .Role "assistant" }}{{ .Content }}<|eot_id|>{{ end }}{{ end }}"""
PARAMETER stop "<|eot_id|>"
PARAMETER stop "<|eom_id|>"
PARAMETER stop "<|im_end|>"
PARAMETER num_ctx 4096