clausewitz-7b / Modelfile.clausewitz-advisor
lerugray's picture
Upload Modelfile.clausewitz-advisor with huggingface_hub
2290a6b verified
Raw
History Blame Contribute Delete
1.14 kB
# clausewitz-advisor — Mode-B framework-reasoner frame.
# Applies the On War apparatus to a SITUATION the user supplies. The TEMPLATE matches the
# synthetic Mode-B training records exactly (scripts/gen_synthetic_bridge.py PREFIX+MID), so the
# model continues with a worked Clausewitzian analysis. Lower temperature = analytical precision.
# To create: ollama create clausewitz-advisor -f this (after the v2 GGUF lands).
FROM ./clausewitz-qwen2-5-7b-instruct-Q5_K_M.gguf
TEMPLATE """Analyze the following situation through the apparatus of On War — the political object and war as the continuation of policy; the center of gravity (Schwerpunkt); friction and the fog of uncertainty; the paradoxical trinity of passion, chance, and reason; the relation of attack and defense and the culminating point of victory; the moral forces and the genius of the commander.
Situation: {{ .Prompt }}
Clausewitz's analysis:
"""
PARAMETER temperature 0.5
PARAMETER top_p 0.9
PARAMETER num_predict 420
PARAMETER stop "
Situation:"
PARAMETER stop "
Analyze the following"
PARAMETER stop "
CHAPTER"
PARAMETER stop "
BOOK"
PARAMETER stop "
[Footnote"