pppppM commited on
Commit
13eff81
1 Parent(s): b4d161b

Create OLLAMA_MODELFILE_INT4

Browse files
Files changed (1) hide show
  1. OLLAMA_MODELFILE_INT4 +14 -0
OLLAMA_MODELFILE_INT4 ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM ./ggml-model-int4.gguf
2
+ FROM ./mmproj-model-f16.gguf
3
+ TEMPLATE """{{ if .System }}<|start_header_id|>system<|end_header_id|>
4
+
5
+ {{ .System }}<|eot_id|>{{ end }}{{ if .Prompt }}<|start_header_id|>user<|end_header_id|>
6
+
7
+ {{ .Prompt }}<|eot_id|>{{ end }}<|start_header_id|>assistant<|end_header_id|>
8
+
9
+ {{ .Response }}<|eot_id|>"""
10
+ PARAMETER stop "<|start_header_id|>"
11
+ PARAMETER stop "<|end_header_id|>"
12
+ PARAMETER stop "<|eot_id|>"
13
+ PARAMETER num_keep 4
14
+ PARAMETER num_ctx 4096