ArnavKewalram's picture
fix: Modelfile template uses correct Gemma 4 format (<|turn> not <start_of_turn>)
a542d42 verified
Raw
History Blame Contribute Delete
411 Bytes
FROM ./gemma-4-E2B-coder-v1-Q4_K_M.gguf
PARAMETER temperature 0.2
PARAMETER top_p 0.9
PARAMETER repeat_penalty 1.05
PARAMETER num_ctx 2048
SYSTEM """You are an expert software engineer. Write clean, correct, well-commented code. When asked to implement something, provide a complete working solution."""
TEMPLATE """<bos><|turn>user
{{ .System }}
{{ .Prompt }}<turn|>
<|turn>model
{{ .Response }}<turn|>"""