Upload Modelfile to ModelScope hub
This commit is contained in:
1 parent
02f0190591
commit
669bdecfae
1 file changed
+8
@@ -0,0 +1,8 @@
|
||||
# ollama modelfile auto-generated by llamafactory
|
||||
|
||||
FROM .
|
||||
|
||||
TEMPLATE """<|begin▁of▁sentence|>{{ if .System }}{{ .System }}{{ end }}{{ range .Messages }}{{ if eq .Role "user" }}<|User|>{{ .Content }}<|Assistant|>{{ else if eq .Role "assistant" }}{{ .Content }}<|end▁of▁sentence|>{{ end }}{{ end }}"""
|
||||
|
||||
PARAMETER stop "<|end▁of▁sentence|>"
|
||||
PARAMETER num_ctx 4096
|
||||
Reference in new issue
Block a user