zxc4wewewe commited on
Commit
e9dee12
·
verified ·
1 Parent(s): a460402

Upload merged model

Browse files
Files changed (1) hide show
  1. Modelfile +8 -3
Modelfile CHANGED
@@ -2,9 +2,14 @@
2
 
3
  FROM .
4
 
5
- TEMPLATE """<s>{{ if .System }}{{ .System }}
6
 
7
- {{ end }}{{ range .Messages }}{{ if eq .Role "user" }}[INST] {{ .Content }}[/INST]{{ else if eq .Role "assistant" }} {{ .Content }}</s>{{ end }}{{ end }}"""
8
 
9
- PARAMETER stop "</s>"
 
 
 
 
 
10
  PARAMETER num_ctx 4096
 
2
 
3
  FROM .
4
 
5
+ TEMPLATE """<s>{{ if .System }}<|start_header_id|>system<|end_header_id|>
6
 
7
+ {{ .System }}<|eot_id|>{{ end }}{{ range .Messages }}{{ if eq .Role "user" }}<|start_header_id|>user<|end_header_id|>
8
 
9
+ {{ .Content }}<|eot_id|><|start_header_id|>assistant<|end_header_id|>
10
+
11
+ {{ else if eq .Role "assistant" }}{{ .Content }}<|eot_id|>{{ end }}{{ end }}"""
12
+
13
+ PARAMETER stop "<|eot_id|>"
14
+ PARAMETER stop "<|eom_id|>"
15
  PARAMETER num_ctx 4096