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