go-review / Modelfile
fatihturker's picture
Upload Modelfile with huggingface_hub
b283599 verified
Raw
History Blame Contribute Delete
587 Bytes
# GuildLM go-review — Ollama Modelfile
# Build: ollama create guildlm/go-review -f Modelfile
# Run: ollama run guildlm/go-review "Write idiomatic Go ..."
FROM ./go-review.Q4_K_M.gguf
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|>
"""
SYSTEM "You are GuildLM go-review, a Go code-review specialist from the GuildLM Code Guild."
PARAMETER stop "<|im_start|>"
PARAMETER stop "<|im_end|>"
PARAMETER temperature 0.2
PARAMETER top_p 0.9