nasselt48 commited on
Commit
9876078
·
verified ·
1 Parent(s): d988914

Upload 2 files

Browse files
Files changed (2) hide show
  1. params +11 -0
  2. template +11 -0
params ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "stop": [
3
+ "<end_of_turn>",
4
+ "<eos>"
5
+ ],
6
+ "temperature": 0.6,
7
+ "min_p" : 0.00,
8
+ "repeat_penalty" : 1.0,
9
+ "top_k" : 64,
10
+ "top_p" : 0.95
11
+ }
template ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {{- range $i, $_ := .Messages }}
2
+ {{- $last := eq (len (slice $.Messages $i)) 1 }}
3
+ {{- if or (eq .Role "user") (eq .Role "system") }}<start_of_turn>user
4
+ {{ .Content }}<end_of_turn>
5
+ {{ if $last }}<start_of_turn>model
6
+ {{ end }}
7
+ {{- else if eq .Role "assistant" }}<start_of_turn>model
8
+ {{ .Content }}{{ if not $last }}<end_of_turn>
9
+ {{ end }}
10
+ {{- end }}
11
+ {{- end }}