SolsticeAI commited on
Commit
87fd63e
·
verified ·
1 Parent(s): 82dfd7b

docs: remove CLI recipes and rigid instructions in favor of clean architecture spec

Browse files
Files changed (1) hide show
  1. README.md +23 -90
README.md CHANGED
@@ -25,7 +25,7 @@ tags:
25
 
26
  <h1 align="center">Protium-1.0: Objective-Gated Cognitive Architecture</h1>
27
 
28
- <h3 align="center">Zero-Waste Cognitive Protocol &bull; Dynamic Cognitive Impedance &bull; Universal LLM Runtime Support</h3>
29
 
30
  <p align="center">
31
  <img src="https://img.shields.io/badge/org-Solstice--AI-blueviolet" alt="Solstice-AI">
@@ -42,28 +42,19 @@ tags:
42
 
43
  **Protium-1.0** is Solstice-AI's high-efficiency, objective-gated cognitive reasoning architecture for open-weight foundation models. Named after **Protium** ($^1\text{H}$) — the fundamental isotope of hydrogen featuring zero neutrons and zero dead weight — Protium-1.0 replaces traditional, unconstrained chain-of-thought bloat with a lean, forward-only reasoning pipeline.
44
 
45
- Traditional reasoning chat templates frequently impose static token minimums, rigid pseudo-schemas, or unconstrained internal deliberation loops. Protium-1.0 resolves this fundamental inefficiency by establishing an **Objective-Gated Protocol**: every reasoning sequence anchors its verification criteria at step one, reasons strictly forward toward that objective, and terminates deliberation the exact millisecond verified correctness is attained.
46
 
47
- Equipped with the **`[L10]` Proteus Dynamic Engine** as its native default, Protium-1.0 auto-calibrates cognitive depth to the intrinsic difficulty of each prompt—collapsing to near-zero latency on direct queries while dynamically allocating full analytical runway for axiomatic proofs and complex engineering tasks.
48
 
49
  ---
50
 
51
  ## Architectural Principles
52
 
53
- ### 1. Token 1 Target Anchoring
54
- At the inception of the cognitive trajectory, the model isolates and locks the exact termination criteria required for a complete, verified solution. The target is anchored before execution begins.
55
-
56
- ### 2. Forward-Only Deduction
57
- Reasoning progresses strictly forward along deductive axes. Internal conversational stalling, rhetorical hesitation, and self-conversational commentary (*"Let me see"*, *"Hmm"*, *"Wait"*) are systematically eliminated from the attention cache.
58
-
59
- ### 3. Objective-Gated Early Exit
60
- Deliberation is bounded exclusively by mathematical, programmatic, and empirical verification. The moment the target anchor is verified, the `<think>` block terminates immediately and the final response is delivered.
61
-
62
- ### 4. Delta-Isolated Error Correction
63
- If a logical contradiction or boundary failure is detected during verification, the model isolates and repairs only the specific broken parameter. It does not regress into circular overthinking loops or full-context restarts.
64
-
65
- ### 5. Decisive Operational Aura
66
- Outputs are delivered with maximum information density, absolute resolve, and complete absence of conversational preamble or unnecessary hedging.
67
 
68
  ---
69
 
@@ -89,91 +80,33 @@ Protium-1.0 features 11 calibrated reasoning tiers plus specialized multi-agent
89
 
90
  ---
91
 
92
- ## Runtime Integration & Usage
93
-
94
- ### 1. llama.cpp / LM Studio
95
- Supply any family template directly to `llama-cli` or `llama-server`:
96
- ```bash
97
- # Default Proteus dynamic reasoning:
98
- llama-cli -m model.gguf --chat-template-file templates/qwen.jinja -p "Implement a lock-free ring buffer in Rust"
99
-
100
- # Explicit level steering:
101
- llama-cli -m model.gguf --chat-template-file templates/qwen.jinja -p "[L4] Implement a lock-free ring buffer in Rust"
102
- ```
103
-
104
- ### 2. Ollama Modelfile
105
- ```dockerfile
106
- FROM ./model.gguf
107
- TEMPLATE """{{ read_file "templates/universal.jinja" }}"""
108
- PARAMETER stop "<|im_start|>"
109
- PARAMETER stop "<|im_end|>"
110
- ```
111
-
112
- ### 3. Transformers (Python)
113
- ```python
114
- from transformers import AutoTokenizer
115
-
116
- tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen2.5-32B-Instruct")
117
- with open("templates/qwen.jinja") as f:
118
- tokenizer.chat_template = f.read()
119
-
120
- # Dynamic default execution:
121
- prompt = tokenizer.apply_chat_template(
122
- [{"role": "user", "content": "Prove that every planar graph is 5-colorable."}],
123
- tokenize=False,
124
- add_generation_prompt=True
125
- )
126
-
127
- # Explicit tier selection via kwarg:
128
- prompt_athena = tokenizer.apply_chat_template(
129
- [{"role": "user", "content": "Refactor this database connection pool"}],
130
- reasoning_effort="athena",
131
- tokenize=False,
132
- add_generation_prompt=True
133
- )
134
- ```
135
-
136
- ### 4. vLLM / SGLang / Open WebUI
137
- Pass standard OpenAI-compatible parameters in the payload:
138
- ```json
139
- {
140
- "model": "Qwen3.8-27B-Protium",
141
- "messages": [{"role": "user", "content": "Design an async event bus"}],
142
- "reasoning_effort": "proteus"
143
- }
144
- ```
145
 
146
- ---
147
 
148
- ## Steering & Control Syntax
149
-
150
- Protium-1.0 supports instant mid-session steering via inline tags or standard API kwargs:
151
-
152
- * **Inline Steering Tags** (case-insensitive, cleanly stripped prior to model consumption):
153
- * `[L10]` or `{REASON:proteus}`: Dynamic unconstrained adaptive reasoning (Default).
154
- * `[L4]` or `{REASON:athena}`: Fixed Athena strategic architecture.
155
- * `[L8]` or `{REASON:einstein}`: Fixed Einstein theoretical reduction.
156
- * `[regular]` or `[vanilla]`: Pure vanilla chat template with zero system directives or thinking tokens.
157
- * `{REASON:i8}`: Silent execution (applies Level 8 analytical rigor internally while suppressing `<think>` emission).
158
- * **Runtime API Kwargs**:
159
- * `reasoning_effort="10"|"proteus"|"dynamic"|"auto"`
160
- * `reasoning_effort="1".."9"` or named levels (`hermes`, `apollo`, `artemis`, `athena`, `prometheus`, `solstice`, `hyperion`, `einstein`, `oracle`, `swarm`, `council`)
161
- * `regular=True` or `mode="vanilla"` (zero-overhead execution)
162
 
163
  ---
164
 
165
- ## Cross-Family Architecture Matrix
 
 
166
 
167
- | Model Family | Template Path | Special Token Implementation |
168
  |---|---|---|
169
  | **Universal / ChatML** | `templates/universal.jinja` | `<|im_start|>`, `<|im_end|>` |
170
- | **Qwen 2.5 / 3.8 / Omni** | `templates/qwen.jinja` | `<|im_start|>`, `<|im_end|>`, Spatial/Temporal Vision |
171
- | **DeepSeek Native** | `templates/deepseek.jinja` | `<|User|>`, `<|Assistant|>`, Native DSML Tool Format |
172
  | **Meta Llama 3 / 4** | `templates/llama3.jinja` | `<|start_header_id|>`, `<|eot_id|>` |
173
  | **Mistral / Mixtral** | `templates/mistral.jinja` | `[INST]`, `[/INST]` |
174
  | **Google Gemma 2 / 3** | `templates/gemma.jinja` | `<start_of_turn>`, `<end_of_turn>` |
175
  | **Zhipu GLM 4 / 5.3** | `templates/glm.jinja` | `[gMASK]<sop>`, `<|user|>`, `<|assistant|>` |
176
- | **Vanilla Standalone** | `templates/regular_*.jinja` | Zero-overhead clean reference templates |
177
 
178
  ---
179
 
 
25
 
26
  <h1 align="center">Protium-1.0: Objective-Gated Cognitive Architecture</h1>
27
 
28
+ <h3 align="center">Zero-Waste Cognitive Protocol &bull; Dynamic Cognitive Impedance &bull; Universal Cross-Family Architecture</h3>
29
 
30
  <p align="center">
31
  <img src="https://img.shields.io/badge/org-Solstice--AI-blueviolet" alt="Solstice-AI">
 
42
 
43
  **Protium-1.0** is Solstice-AI's high-efficiency, objective-gated cognitive reasoning architecture for open-weight foundation models. Named after **Protium** ($^1\text{H}$) — the fundamental isotope of hydrogen featuring zero neutrons and zero dead weight — Protium-1.0 replaces traditional, unconstrained chain-of-thought bloat with a lean, forward-only reasoning pipeline.
44
 
45
+ Rather than imposing static token minimums, rigid pseudo-schemas, or unconstrained internal deliberation loops, Protium-1.0 operates on an **Objective-Gated Protocol**: every reasoning sequence anchors its verification criteria at step one, reasons strictly forward toward that objective, and terminates deliberation the moment verified correctness is attained.
46
 
47
+ Equipped with the **`[L10]` Proteus Dynamic Engine** as its native default, Protium-1.0 auto-calibrates cognitive depth to the intrinsic difficulty of each prompt—minimizing overhead on direct queries while dynamically allocating full analytical runway for axiomatic proofs and complex engineering tasks.
48
 
49
  ---
50
 
51
  ## Architectural Principles
52
 
53
+ * **Token 1 Target Anchoring**: At the inception of the cognitive trajectory, the model isolates and locks the exact termination criteria required for a complete, verified solution.
54
+ * **Forward-Only Deduction**: Reasoning progresses strictly forward along deductive axes, eliminating internal conversational stalling and rhetorical hesitation from the attention cache.
55
+ * **Objective-Gated Early Exit**: Deliberation is bounded exclusively by mathematical, programmatic, and empirical verification. The moment the target anchor is verified, thinking terminates immediately and the final response is emitted.
56
+ * **Delta-Isolated Error Correction**: If a logical contradiction or boundary failure is detected during verification, the model isolates and repairs only the specific broken parameter, preventing circular loops or full-context restarts.
57
+ * **Decisive Operational Delivery**: Outputs are delivered with high information density, clear technical rigor, and zero conversational filler.
 
 
 
 
 
 
 
 
 
58
 
59
  ---
60
 
 
80
 
81
  ---
82
 
83
+ ## Steering & Control Reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
84
 
85
+ Protium-1.0 supports flexible steering via inline tags or standard inference parameters:
86
 
87
+ | Control Target | Inline Syntax | API Kwarg / Parameter |
88
+ |---|---|---|
89
+ | **Dynamic Adaptive (Default)** | `[L10]` or `{REASON:proteus}` | `reasoning_effort="proteus"` or `"dynamic"` |
90
+ | **Specific Cognitive Levels** | `[L1]` through `[L9]` | `reasoning_effort="1"` .. `"9"` (or level name) |
91
+ | **Silent Reasoning** | `{REASON:i8}` | Runs high-tier analytical rigor with `<think>` hidden |
92
+ | **Zero-Overhead Vanilla** | `[regular]` or `[vanilla]` | `regular=True` or `mode="vanilla"` |
 
 
 
 
 
 
 
 
93
 
94
  ---
95
 
96
+ ## Template Family Distribution
97
+
98
+ All templates are located in the `templates/` directory and pre-configured for native runtime token formats:
99
 
100
+ | Target Model Architecture | File | Native Format |
101
  |---|---|---|
102
  | **Universal / ChatML** | `templates/universal.jinja` | `<|im_start|>`, `<|im_end|>` |
103
+ | **Qwen 2.5 / 3.8 / Vision** | `templates/qwen.jinja` | `<|im_start|>`, `<|im_end|>`, Multimodal Vision |
104
+ | **DeepSeek Native** | `templates/deepseek.jinja` | `<|User|>`, `<|Assistant|>`, Native DSML |
105
  | **Meta Llama 3 / 4** | `templates/llama3.jinja` | `<|start_header_id|>`, `<|eot_id|>` |
106
  | **Mistral / Mixtral** | `templates/mistral.jinja` | `[INST]`, `[/INST]` |
107
  | **Google Gemma 2 / 3** | `templates/gemma.jinja` | `<start_of_turn>`, `<end_of_turn>` |
108
  | **Zhipu GLM 4 / 5.3** | `templates/glm.jinja` | `[gMASK]<sop>`, `<|user|>`, `<|assistant|>` |
109
+ | **Vanilla Reference** | `templates/regular_*.jinja` | Minimal, zero-overhead baseline templates |
110
 
111
  ---
112