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