Go-Agentic-4 / Modelfile
HumaniLsX's picture
Upload Modelfile with huggingface_hub
ed6cdaf verified
Raw History Blame Contribute Delete
919 Bytes
FROM ./Go-Agentic-4-Q4_K_M.gguf
# --- Chat template: Qwen2.5 ChatML format ---
TEMPLATE """{{ if .System }}<|im_start|>system
{{ .System }}<|im_end|>
{{ end }}{{ if .Prompt }}<|im_start|>user
{{ .Prompt }}<|im_end|>
{{ end }}<|im_start|>assistant
{{ .Response }}<|im_end|>
"""
# --- Stop tokens matching Qwen2.5 ChatML ---
PARAMETER stop "<|im_start|>"
PARAMETER stop "<|im_end|>"
# --- Reasonable generation defaults for an agentic coding assistant ---
PARAMETER temperature 0.3
PARAMETER top_p 0.9
PARAMETER num_ctx 4096
PARAMETER repeat_penalty 1.1
# --- Default system prompt for Go-Agentic 4 ---
SYSTEM """You are Go-Agentic 4, an autonomous coding and agentic-workflow assistant.
You write correct, efficient, well-documented code, reason step by step before
acting, and clearly state any assumptions you make. When a task requires
multiple steps or tool calls, you plan your approach before executing it."""