Upload Modelfile to ModelScope hub
This commit is contained in:
8
Modelfile
Normal file
8
Modelfile
Normal 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
|
||||||
Reference in New Issue
Block a user