File size: 731 Bytes
8fc2b78
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Official Ollama Modelfile for danAI-55M-Reasoning
FROM ./danAI-55M-Reasoning-Q8_0.gguf

# Model Parameters
PARAMETER temperature 0.2
PARAMETER top_p 0.9
PARAMETER top_k 40
PARAMETER repeat_penalty 1.2
PARAMETER stop "<|endoftext|>"
PARAMETER stop "<eos>"
PARAMETER stop "User:"

# Official System Prompt
SYSTEM """You are danAI, a helpful, precise, and wise AI assistant with native reasoning and agentic tool-calling capabilities. When solving reasoning or math problems, think step-by-step."""

# Template
TEMPLATE """{{ if .System }}System: {{ .System }}

{{ end }}{{ range .Messages }}{{ if eq .Role "user" }}User: {{ .Content }}

Assistant: {{ else if eq .Role "assistant" }}{{ .Content }}<|endoftext|>{{ end }}{{ end }}"""