初始化项目,由ModelHub XC社区提供模型
Model: asjadilahi/danAI-55M-Reasoning Source: Original Platform
This commit is contained in:
21
Modelfile
Normal file
21
Modelfile
Normal file
@@ -0,0 +1,21 @@
|
||||
# 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 }}"""
|
||||
Reference in New Issue
Block a user