zzy0123 commited on
Commit
aa0d0d3
·
verified ·
1 Parent(s): 4f635db

Upload Modelfile with huggingface_hub

Browse files
Files changed (1) hide show
  1. Modelfile +10 -0
Modelfile ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ # ollama modelfile auto-generated by llamafactory
2
+
3
+ FROM .
4
+
5
+ TEMPLATE """{{ if .System }}{{ .System }}{{ end }}{{ range .Messages }}{{ if eq .Role "user" }}USER: {{ .Content }} ASSISTANT:{{ else if eq .Role "assistant" }}{{ .Content }}</s>{{ end }}{{ end }}"""
6
+
7
+ SYSTEM """A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions."""
8
+
9
+ PARAMETER stop "</s>"
10
+ PARAMETER num_ctx 4096