edpowers commited on
Commit
a473831
1 Parent(s): 555bf43

Upload Modelfile

Browse files
Files changed (1) hide show
  1. Modelfile +19 -0
Modelfile ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM ./mistral_7b_instruct_v2_quant_v2-unsloth.Q4_K_M.gguf
2
+
3
+ # sets the temperature to 1 [higher is more creative, lower is more coherent]
4
+ PARAMETER temperature 1
5
+ # sets the context window size to 4096, this controls how many tokens the LLM can use as context to generate the next token
6
+ PARAMETER num_ctx 4096
7
+
8
+
9
+ TEMPLATE """{{ if .System }}<|start_header_id|>system<|end_header_id|>
10
+
11
+ {{ .System }}<|eot_id|>{{ end }}{{ if .Prompt }}<|start_header_id|>user<|end_header_id|>
12
+
13
+ {{ .Prompt }}<|eot_id|>{{ end }}<|start_header_id|>assistant<|end_header_id|>
14
+
15
+ {{ .Response }}<|eot_id|>"""
16
+ PARAMETER stop "<|start_header_id|>"
17
+ PARAMETER stop "<|end_header_id|>"
18
+ PARAMETER stop "<|eot_id|>"
19
+ PARAMETER stop "<|reserved_special_token"