c00cjz00 commited on
Commit
4597607
·
verified ·
1 Parent(s): 781e3d3

Upload Modelfile with huggingface_hub

Browse files
Files changed (1) hide show
  1. Modelfile +15 -0
Modelfile ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # ollama modelfile auto-generated by llamafactory
2
+
3
+ FROM .
4
+
5
+ TEMPLATE """<bos>{{ if .System }}{{ .System }}
6
+
7
+ {{ end }}{{ range .Messages }}{{ if eq .Role "user" }}<start_of_turn>user
8
+ {{ .Content }}<end_of_turn>
9
+ <start_of_turn>model
10
+ {{ else if eq .Role "assistant" }}{{ .Content }}<end_of_turn>
11
+ {{ end }}{{ end }}"""
12
+
13
+ PARAMETER stop "<eos>"
14
+ PARAMETER stop "<end_of_turn>"
15
+ PARAMETER num_ctx 4096