fatihturker commited on
Commit
b1d72ea
·
verified ·
1 Parent(s): 1b5b7da

Upload Modelfile with huggingface_hub

Browse files
Files changed (1) hide show
  1. Modelfile +19 -0
Modelfile ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # GuildLM go-test — Ollama Modelfile
2
+ # Build: ollama create guildlm/go-test -f Modelfile
3
+ # Run: ollama run guildlm/go-test "Write idiomatic Go ..."
4
+ FROM ./go-test.Q4_K_M.gguf
5
+
6
+ TEMPLATE """{{ if .System }}<|im_start|>system
7
+ {{ .System }}<|im_end|>
8
+ {{ end }}{{ if .Prompt }}<|im_start|>user
9
+ {{ .Prompt }}<|im_end|>
10
+ {{ end }}<|im_start|>assistant
11
+ {{ .Response }}<|im_end|>
12
+ """
13
+
14
+ SYSTEM "You are GuildLM go-test, a Go testing specialist from the GuildLM Code Guild."
15
+
16
+ PARAMETER stop "<|im_start|>"
17
+ PARAMETER stop "<|im_end|>"
18
+ PARAMETER temperature 0.2
19
+ PARAMETER top_p 0.9