Tang82 commited on
Commit
7745483
·
verified ·
1 Parent(s): 16635ba

Upload Modelfile

Browse files
Files changed (1) hide show
  1. Modelfile +8 -0
Modelfile ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ # ollama modelfile auto-generated by llamafactory
2
+
3
+ FROM .
4
+
5
+ TEMPLATE """<s>{{ if .System }}[SYSTEM_PROMPT]{{ .System }}[/SYSTEM_PROMPT]{{ end }}{{ range .Messages }}{{ if eq .Role "user" }}[INST]{{ .Content }}[/INST]{{ else if eq .Role "assistant" }}{{ .Content }}</s>{{ end }}{{ end }}"""
6
+
7
+ PARAMETER stop "</s>"
8
+ PARAMETER num_ctx 4096