Mikkkkoooo's picture
Add Ollama Modelfile for hf.co direct run
c266333 verified
Raw
History Blame Contribute Delete
706 Bytes
# Ollama Modelfile for Qwen3.5-4B private analyst
# Usage: ollama run hf.co/Mikkkkoooo/qwen35-4b-private-analyst-full-corpus
FROM /models/Qwen3.5-4B.Q4_K_M.gguf
TEMPLATE """
{{ if .System }}{{ .System }}{{ end }}
{{ range .Messages }}
{{ if eq .Role "user" }}<|im_start|>user
{{ .Content }}<|im_end|>
{{ else if eq .Role "assistant" }}<|im_start|>assistant
{{ .Content }}<|im_end|>
{{ else if eq .Role "system" }}<|im_start|>system
{{ .Content }}<|im_end|>
{{ end }}
{{ end }}<|im_start|>assistant
"""
PARAMETER num_ctx 4096
PARAMETER temperature 0.1
PARAMETER num_gpu 1
PARAMETER stop "<|im_end|>"
PARAMETER stop "<|im_start|>"
PARAMETER stop "</think>"
PARAMETER stop "<think>"