lerugray commited on
Commit
2290a6b
·
verified ·
1 Parent(s): b8b1ddf

Upload Modelfile.clausewitz-advisor with huggingface_hub

Browse files
Files changed (1) hide show
  1. Modelfile.clausewitz-advisor +27 -0
Modelfile.clausewitz-advisor ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # clausewitz-advisor — Mode-B framework-reasoner frame.
2
+ # Applies the On War apparatus to a SITUATION the user supplies. The TEMPLATE matches the
3
+ # synthetic Mode-B training records exactly (scripts/gen_synthetic_bridge.py PREFIX+MID), so the
4
+ # model continues with a worked Clausewitzian analysis. Lower temperature = analytical precision.
5
+ # To create: ollama create clausewitz-advisor -f this (after the v2 GGUF lands).
6
+ FROM ./clausewitz-qwen2-5-7b-instruct-Q5_K_M.gguf
7
+
8
+ 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.
9
+
10
+ Situation: {{ .Prompt }}
11
+
12
+ Clausewitz's analysis:
13
+ """
14
+
15
+ PARAMETER temperature 0.5
16
+ PARAMETER top_p 0.9
17
+ PARAMETER num_predict 420
18
+ PARAMETER stop "
19
+ Situation:"
20
+ PARAMETER stop "
21
+ Analyze the following"
22
+ PARAMETER stop "
23
+ CHAPTER"
24
+ PARAMETER stop "
25
+ BOOK"
26
+ PARAMETER stop "
27
+ [Footnote"