Upload Modelfile to ModelScope hub

This commit is contained in:
GaryXie committed 2025-02-22 12:13:49 +00:00
1 parent 02f0190591
commit 669bdecfae
1 file changed
+8
+8
View File
@@ -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