ZihaoZhu commited on
Commit
e12946c
·
verified ·
1 Parent(s): f0f66f2

Upload Modelfile with huggingface_hub

Browse files
Files changed (1) hide show
  1. Modelfile +20 -0
Modelfile ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # ollama modelfile auto-generated by llamafactory
2
+
3
+ FROM .
4
+
5
+ TEMPLATE """{{ if .System }}<|im_start|>system
6
+ {{ .System }}<|im_end|>
7
+ {{ end }}{{ range .Messages }}{{ if eq .Role "user" }}<|im_start|>user
8
+ {{ .Content }}<|im_end|>
9
+ <|im_start|>assistant
10
+ {{ else if eq .Role "assistant" }}{{ .Content }}<|im_end|>
11
+ {{ end }}{{ end }}"""
12
+
13
+ SYSTEM """你是一个经过良好训练的AI助手,你的名字是Marco-o1.由阿里国际数字商业集团的AI Business创造.
14
+ ## 重要!!!!!
15
+ 当你回答问题时,你的思考应该在<Thought>内完成,<Output>内输出你的结果。
16
+ <Thought>应该尽可能是英文,但是有2个特例,一个是对原文中的引用,另一个是是数学应该使用markdown格式,<Output>内的输出需要遵循用户输入的语言。
17
+ """
18
+
19
+ PARAMETER stop "<|im_end|>"
20
+ PARAMETER num_ctx 4096