Transformers
GGUF
English
Chinese
chat-template
reasoning
cot
protium
solstice-ai
objective-gated
zero-waste
dynamic-reasoning
ollama
llama.cpp
vllm
Instructions to use Solstice-AI/Protium-1.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Solstice-AI/Protium-1.0 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Solstice-AI/Protium-1.0", device_map="auto") - Notebooks
- Google Colab
- Kaggle
feat: update templates/llama3.jinja with Protium-1.0 Objective-Gated Protocol
Browse files- templates/llama3.jinja +56 -79
templates/llama3.jinja
CHANGED
|
@@ -1,32 +1,24 @@
|
|
| 1 |
-
{%- set template_version = template_version if template_version is defined else "
|
| 2 |
|
| 3 |
{#- ========================================================================== -#}
|
| 4 |
-
{#-
|
| 5 |
-
{#- Solstice-AI
|
| 6 |
-
{#-
|
|
|
|
| 7 |
{#- -#}
|
| 8 |
-
{#-
|
| 9 |
-
{#- 1.
|
| 10 |
-
{#-
|
| 11 |
-
{#-
|
| 12 |
-
{#-
|
| 13 |
-
{#-
|
| 14 |
-
{#-
|
| 15 |
-
{#-
|
| 16 |
-
{#-
|
| 17 |
-
{#-
|
| 18 |
-
{#- ones, so depth can be re-escalated mid-chat. -#}
|
| 19 |
-
{#- 4. DEPTH-TOOL COUPLING. (a) With tools attached and NO explicit depth -#}
|
| 20 |
-
{#- signal, depth auto-collapses to L4 (tool work wants discipline, not -#}
|
| 21 |
-
{#- essays). (b) Two or more consecutive tool failures auto-escalate depth -#}
|
| 22 |
-
{#- one band (capped at L7). Swarm/council modes are never auto-tuned. -#}
|
| 23 |
{#- -#}
|
| 24 |
-
{#-
|
| 25 |
-
{#-
|
| 26 |
-
{#- spoon, deep-research, i-prefixed silent modes, legacy think-tags. -#}
|
| 27 |
-
{#- -#}
|
| 28 |
-
{#- THE SPECTRUM (soft shares of total output, elastic both directions): -#}
|
| 29 |
-
{#- [L0] Mortal - thinking off; answer directly. -#}
|
| 30 |
{#- [L1] Hermes - rapid instinct. usually under ~10% of output. -#}
|
| 31 |
{#- [L2] Apollo - crisp logic. roughly ~10-25% of output. -#}
|
| 32 |
{#- [L3] Artemis - edge-case hunting. roughly ~20-40% of output. -#}
|
|
@@ -35,7 +27,7 @@
|
|
| 35 |
{#- [L6] Solstice - deep derivation. roughly ~50-70% of output. -#}
|
| 36 |
{#- [L7] Hyperion - first principles roughly ~60-85% of output. -#}
|
| 37 |
{#- (default). -#}
|
| 38 |
-
{#- [L8] Einstein -
|
| 39 |
{#- [L9] Oracle - proof-grade rigour. as much as genuine proof demands.-#}
|
| 40 |
{#- swarm - 20-perspective divergent swarm, verdict line. -#}
|
| 41 |
{#- council - adversarial research council, verdict line. -#}
|
|
@@ -43,12 +35,11 @@
|
|
| 43 |
{#- CONTINUOUS DEPTH MAP (10-100): 1-14 L1 | 15-29 L2 | 30-44 L3 | 45-59 L4 | -#}
|
| 44 |
{#- 60-69 L5 | 70-79 L6 | 80-89 L7 | 90-96 L8 | 97-100 L9 | 0 = off. -#}
|
| 45 |
{#- -#}
|
| 46 |
-
{#- INLINE SYNTAX (case-insensitive, stripped before
|
| 47 |
-
{#- think on/off/minimal/low/medium/high/xhigh/ultracode/extreme/max -#}
|
| 48 |
{#- [L0]..[L9] | {REASON:level|name|number} | [MODE:level|name|number] -#}
|
| 49 |
-
{#-
|
| 50 |
-
{#-
|
| 51 |
-
{#-
|
| 52 |
{#- ========================================================================== -#}
|
| 53 |
|
| 54 |
{#- ------------------------------------------------------------------ -#}
|
|
@@ -194,82 +185,67 @@
|
|
| 194 |
{#- ================================================================== -#}
|
| 195 |
|
| 196 |
{%- set soft_budget_contract -%}
|
| 197 |
-
|
| 198 |
-
|
| 199 |
-
-
|
| 200 |
-
|
|
|
|
|
|
|
| 201 |
{%- endset %}
|
| 202 |
|
| 203 |
{%- set terse_core -%}
|
| 204 |
-
|
| 205 |
-
|
|
|
|
|
|
|
|
|
|
| 206 |
{%- endset %}
|
| 207 |
|
| 208 |
{%- set inst_hermes -%}
|
| 209 |
Reasoning effort: Hermes β [L1] (rapid instinct).
|
| 210 |
-
Mindset:
|
| 211 |
-
Depth guide: keep visible reasoning to a light touch β usually under a tenth of your output, and near zero when the answer is obvious. Spend only what correctness demands.
|
| 212 |
{%- endset %}
|
| 213 |
{%- set inst_apollo -%}
|
| 214 |
-
Reasoning effort: Apollo β [L2] (
|
| 215 |
-
Mindset:
|
| 216 |
-
Depth guide: compact and focused β roughly a tenth to a quarter of your output, tuned to how tangled the constraints actually are. Conclude as soon as the premise is validated.
|
| 217 |
{%- endset %}
|
| 218 |
{%- set inst_artemis -%}
|
| 219 |
-
Reasoning effort: Artemis β [L3] (
|
| 220 |
-
Mindset: boundary
|
| 221 |
-
Depth guide: measured scrutiny β roughly a fifth to two-fifths of your output, scaling with how many real edge surfaces the task has. Hunt hard, then close.
|
| 222 |
{%- endset %}
|
| 223 |
{%- set inst_athena -%}
|
| 224 |
-
Reasoning effort: Athena β [L4] (strategic
|
| 225 |
-
Mindset:
|
| 226 |
-
Depth guide: balanced deliberation β roughly a third to half of your output, expanding with the number of real decision axes. Every step must produce valid input for the next.
|
| 227 |
{%- endset %}
|
| 228 |
{%- set inst_prometheus -%}
|
| 229 |
-
Reasoning effort: Prometheus β [L5] (
|
| 230 |
-
Mindset:
|
| 231 |
-
Depth guide: systemic forethought β roughly two-fifths to three-fifths of your output, growing with blast radius and life-cycle stakes of the change.
|
| 232 |
{%- endset %}
|
| 233 |
{%- set inst_solstice -%}
|
| 234 |
Reasoning effort: Solstice β [L6] (deep systemic derivation).
|
| 235 |
-
Mindset:
|
| 236 |
-
Depth guide: continuous deep derivation β roughly half to seventy percent of your output, stretching with proof depth. Full runway for formal traces; stop the moment certainty is reached.
|
| 237 |
{%- endset %}
|
| 238 |
{%- set inst_hyperion -%}
|
| 239 |
Reasoning effort: Hyperion β [L7] (first-principles synthesis; default).
|
| 240 |
-
Mindset:
|
| 241 |
-
Depth guide: majority-of-output reasoning β typically three-fifths to four-fifths of your reply, wholly elastic to real difficulty. No shortcuts while uncertainty remains; immediate closure once it doesn't.
|
| 242 |
{%- endset %}
|
| 243 |
{%- set inst_einstein -%}
|
| 244 |
-
Reasoning effort: Einstein β [L8] (
|
| 245 |
-
Mindset:
|
| 246 |
-
Depth guide: reasoning commonly dominates the reply β often three-fifths to nine-tenths of output β but stays a guide, not a target: derive exactly as long as the theory demands, then deliver.
|
| 247 |
{%- endset %}
|
| 248 |
{%- set inst_oracle -%}
|
| 249 |
-
Reasoning effort: Oracle β [L9] (proof-grade
|
| 250 |
-
Mindset:
|
| 251 |
-
Depth guide: unbounded by design β the reasoning may justly be the clear majority of the output, stretching as far as genuine proof demands and not one token further. Rigour is the only metric; padding is failure.
|
| 252 |
{%- endset %}
|
| 253 |
{%- set inst_swarm -%}
|
| 254 |
Reasoning effort: Swarm β 20-perspective divergent swarm (specialized mode).
|
| 255 |
-
Mindset:
|
| 256 |
-
|
| 257 |
-
Phase 2 β Perspective activation: internally simulate a divergent swarm of specialist voices β analytical logician, creative maverick, systems engineer, adversarial red-teamer, systems-dynamics modeller, algorithmic optimizer, human-factors critic, and kindred perspectives as the problem demands.
|
| 258 |
-
Phase 3 β Cross-pollination: force creative collisions between the strongest divergent concepts; synthesize hybrids that resolve real tensions between speed, memory, cost, and correctness.
|
| 259 |
-
Phase 4 β Convergence: solidify the highest-conviction breakthrough into a master-grade deliverable.
|
| 260 |
-
Depth guide: the swarm fills as much of the output as genuine exploration earns β commonly the majority for open-ended challenges β with every phase sized freely by what the problem actually needs. No phase is ever trimmed short or artificially extended.
|
| 261 |
-
Output contract: reason through the four phases, then close your reasoning and open the final answer with the line "[SWARM VERDICT]" followed by a one-paragraph synthesis naming the winning direction and the single strongest objection it survived.
|
| 262 |
{%- endset %}
|
| 263 |
{%- set inst_deep_swarm -%}
|
| 264 |
-
Reasoning effort: Council β
|
| 265 |
-
Mindset:
|
| 266 |
-
|
| 267 |
-
Protocol 2 β Panel: assemble a compact council of complementary virtual specialists tailored to this prompt (domain principal, formal-methods critic, systems architect, security/compliance lead, final synthesizer).
|
| 268 |
-
Protocol 3 β Adversarial deliberation: let the council debate, expose hidden assumptions, challenge lazy consensus, and trace proofs to their roots.
|
| 269 |
-
Protocol 4 β Candidate matrix: formulate several genuinely distinct candidate architectures; score each on correctness, completeness, efficiency, and robustness; document the winning trade-off.
|
| 270 |
-
Protocol 5 β Master deliverable: present the definitive result with clear structure and complete implementation.
|
| 271 |
-
Depth guide: deliberation may justly occupy the bulk of the output for hard problems and shrink to a focused pass for easy ones β always governed by what verification actually requires, never by a quota.
|
| 272 |
-
Output contract: deliberate through the five protocols, then open the final answer with the line "[COUNCIL VERDICT]" followed by the council's ruling, the decisive argument, and the loudest dissent the ruling overcame.
|
| 273 |
{%- endset %}
|
| 274 |
|
| 275 |
{#- ================================================================== -#}
|
|
@@ -607,7 +583,8 @@ Output contract: deliberate through the five protocols, then open the final answ
|
|
| 607 |
{%- set _suppress_tools = _runtime_tool_protocol %}
|
| 608 |
{%- endif %}
|
| 609 |
|
| 610 |
-
{
|
|
|
|
| 611 |
{%- if reasoning_instructions or _sc or (_has_tools and not _suppress_tools) %}
|
| 612 |
{{- '<|start_header_id|>system<|end_header_id|>\n\n' }}
|
| 613 |
{%- if reasoning_instructions %}
|
|
@@ -836,7 +813,7 @@ Output contract: deliberate through the five protocols, then open the final answ
|
|
| 836 |
{%- set ns2.consecutive_failures = 0 %}
|
| 837 |
{%- endif %}
|
| 838 |
{%- if ns2.prev_role != 'tool' %}
|
| 839 |
-
{{- '<|
|
| 840 |
{%- endif %}
|
| 841 |
{%- set _is_json_payload = (_tool_format == 'json' and content | trim | length > 0 and (content | trim)[:1] in ('{', '[')) %}
|
| 842 |
{%- if not _is_json_payload and max_tool_response_chars > 0 and content | length > max_tool_response_chars %}
|
|
|
|
| 1 |
+
{%- set template_version = template_version if template_version is defined else "protium-v1.0.0-objective-gated" %}
|
| 2 |
|
| 3 |
{#- ========================================================================== -#}
|
| 4 |
+
{#- PROTIUM-1.0 β OBJECTIVE-GATED COGNITIVE ARCHITECTURE -#}
|
| 5 |
+
{#- Solstice-AI Zero-Waste Protocol for High-Efficiency Reasoning Models -#}
|
| 6 |
+
{#- Named after Protium (1H): Zero Neutrons. Zero Dead Weight. Pure Thrust. -#}
|
| 7 |
+
{#- Lineage: qwen3.8-froggeric-v22.5.0 (DavidAU, MIT) -> Solstice-AI -#}
|
| 8 |
{#- -#}
|
| 9 |
+
{#- CORE TENETS: -#}
|
| 10 |
+
{#- 1. TOKEN 1 TARGET ANCHOR: Lock the termination condition at step 1. -#}
|
| 11 |
+
{#- 2. FORWARD-ONLY SOLVE: Advance directly toward the target. Eliminate -#}
|
| 12 |
+
{#- conversational filler ("let's see", "hmm", "wait"). No rhetorical -#}
|
| 13 |
+
{#- hesitation; execute pure continuous deduction. -#}
|
| 14 |
+
{#- 3. EARLY EXIT GATE: Terminate thinking the instant the target condition -#}
|
| 15 |
+
{#- is satisfied and verified. Never dwell, stall, or manufacture doubt. -#}
|
| 16 |
+
{#- 4. DELTA-ONLY CORRECTION: Fix only the broken variable upon contradiction;-#}
|
| 17 |
+
{#- never regress into full restarts or circular overthinking loops. -#}
|
| 18 |
+
{#- 5. ABSOLUTE RESOLVE: Decisive, unhedged final delivery. Zero preamble. -#}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
{#- -#}
|
| 20 |
+
{#- THE SPECTRUM (soft share of output, elastic both directions): -#}
|
| 21 |
+
{#- [L0] Mortal - thinking off; execute directly. -#}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
{#- [L1] Hermes - rapid instinct. usually under ~10% of output. -#}
|
| 23 |
{#- [L2] Apollo - crisp logic. roughly ~10-25% of output. -#}
|
| 24 |
{#- [L3] Artemis - edge-case hunting. roughly ~20-40% of output. -#}
|
|
|
|
| 27 |
{#- [L6] Solstice - deep derivation. roughly ~50-70% of output. -#}
|
| 28 |
{#- [L7] Hyperion - first principles roughly ~60-85% of output. -#}
|
| 29 |
{#- (default). -#}
|
| 30 |
+
{#- [L8] Einstein - theoretical mastery. dominates output when required. -#}
|
| 31 |
{#- [L9] Oracle - proof-grade rigour. as much as genuine proof demands.-#}
|
| 32 |
{#- swarm - 20-perspective divergent swarm, verdict line. -#}
|
| 33 |
{#- council - adversarial research council, verdict line. -#}
|
|
|
|
| 35 |
{#- CONTINUOUS DEPTH MAP (10-100): 1-14 L1 | 15-29 L2 | 30-44 L3 | 45-59 L4 | -#}
|
| 36 |
{#- 60-69 L5 | 70-79 L6 | 80-89 L7 | 90-96 L8 | 97-100 L9 | 0 = off. -#}
|
| 37 |
{#- -#}
|
| 38 |
+
{#- INLINE SYNTAX (case-insensitive, stripped before model sees them): -#}
|
|
|
|
| 39 |
{#- [L0]..[L9] | {REASON:level|name|number} | [MODE:level|name|number] -#}
|
| 40 |
+
{#- [regular] | [vanilla] | [standard] | [default] -#}
|
| 41 |
+
{#- Prefix 'i' = silent variant: {REASON:i8} runs L8 rigor, thinking hidden. -#}
|
| 42 |
+
{#- PRECEDENCE: default L7 < runtime kwarg < inline signals (last wins). -#}
|
| 43 |
{#- ========================================================================== -#}
|
| 44 |
|
| 45 |
{#- ------------------------------------------------------------------ -#}
|
|
|
|
| 185 |
{#- ================================================================== -#}
|
| 186 |
|
| 187 |
{%- set soft_budget_contract -%}
|
| 188 |
+
PROTIUM OBJECTIVE-GATED REASONING CONTRACT:
|
| 189 |
+
1. Target Anchor: At token 1, isolate the exact success condition β define what a verified, completed solution entails.
|
| 190 |
+
2. Forward-Only Solve: Advance directly toward the target. Eliminate self-conversational chatter ("let's see", "hmm", "wait", "now let me check"). Discard rhetorical hesitation; execute continuous deductive steps.
|
| 191 |
+
3. Early Exit Gate: The instant the target condition is met and verified, terminate thinking immediately and emit the final response. Never dwell, pad, or re-verify what has already been proven.
|
| 192 |
+
4. Delta-Only Correction: If a contradiction or constraint violation is encountered, isolate and repair only the specific broken variable. Never regress into full restarts or circular overthinking loops.
|
| 193 |
+
5. Absolute Resolve: Formulate a definitive, decisive conclusion without hedging, equivocating, or artificial disclaimers. Correctness and crisp utility are the only metrics.
|
| 194 |
{%- endset %}
|
| 195 |
|
| 196 |
{%- set terse_core -%}
|
| 197 |
+
Operational Directives:
|
| 198 |
+
- Zero preamble, pleasantries, or question restatements.
|
| 199 |
+
- Deliver direct, unhedged answers with maximum information density.
|
| 200 |
+
- Retain all essential mathematical, programmatic, and logical technical rigor.
|
| 201 |
+
- If genuine ambiguity exists, resolve it along the most probable engineering standard or ask one targeted clarifying question.
|
| 202 |
{%- endset %}
|
| 203 |
|
| 204 |
{%- set inst_hermes -%}
|
| 205 |
Reasoning effort: Hermes β [L1] (rapid instinct).
|
| 206 |
+
Mindset: High-velocity execution. Rapid sanity check of premise, arithmetic, or syntax β then commit immediately to the shortest verified bridge to the conclusion. Conclude in a light single-digit share of output; zero when obvious.
|
|
|
|
| 207 |
{%- endset %}
|
| 208 |
{%- set inst_apollo -%}
|
| 209 |
+
Reasoning effort: Apollo β [L2] (disciplined deduction).
|
| 210 |
+
Mindset: Structured, transparent logic. Isolate given constraints, trace linear implications with zero detour, and exit thinking the instant premise validation is reached (typically 10-25% of output).
|
|
|
|
| 211 |
{%- endset %}
|
| 212 |
{%- set inst_artemis -%}
|
| 213 |
+
Reasoning effort: Artemis β [L3] (boundary & failure audit).
|
| 214 |
+
Mindset: Rigorous boundary validation. Audit null/empty states, numeric limits, concurrency hazards, off-by-one errors, and malformed inputs. Fortify against edge cases, then terminate thinking immediately (roughly 20-40% of output).
|
|
|
|
| 215 |
{%- endset %}
|
| 216 |
{%- set inst_athena -%}
|
| 217 |
+
Reasoning effort: Athena β [L4] (strategic architecture).
|
| 218 |
+
Mindset: Modular synthesis. Deconstruct requirements into structured sub-tasks with strict prerequisite dependency chains. Weigh concrete trade-offs (performance vs maintainability, latency vs throughput) and execute the optimal vector (roughly 30-50% of output).
|
|
|
|
| 219 |
{%- endset %}
|
| 220 |
{%- set inst_prometheus -%}
|
| 221 |
+
Reasoning effort: Prometheus β [L5] (defensive engineering).
|
| 222 |
+
Mindset: Second-order systemic modeling. Anticipate upstream crashes, payload corruption, scaling cliffs, memory footprints, and lifecycle debt. Embed fault tolerance and graceful degradation directly into the design (roughly 40-60% of output).
|
|
|
|
| 223 |
{%- endset %}
|
| 224 |
{%- set inst_solstice -%}
|
| 225 |
Reasoning effort: Solstice β [L6] (deep systemic derivation).
|
| 226 |
+
Mindset: Axiomatic derivation. Establish fundamental invariants, formulate distinct candidate architectures, stress-test each against boundary constraints, and converge on the dominant derivation with zero assumptions taken on faith (roughly 50-70% of output).
|
|
|
|
| 227 |
{%- endset %}
|
| 228 |
{%- set inst_hyperion -%}
|
| 229 |
Reasoning effort: Hyperion β [L7] (first-principles synthesis; default).
|
| 230 |
+
Mindset: Comprehensive first-principles synthesis. Decompose problems to atomic ground truths. Maintain continuous forward momentum across all proof surfaces. Immediate exit the instant resolution is achieved (typically 60-85% of output).
|
|
|
|
| 231 |
{%- endset %}
|
| 232 |
{%- set inst_einstein -%}
|
| 233 |
+
Reasoning effort: Einstein β [L8] (theoretical mastery).
|
| 234 |
+
Mindset: Invariant reduction and breakthrough synthesis. Strip peripheral complexity to the bare mathematical and informational core. Construct the unified invariant model that resolves multi-stage complexity into one cohesive, unassailable derivation.
|
|
|
|
| 235 |
{%- endset %}
|
| 236 |
{%- set inst_oracle -%}
|
| 237 |
+
Reasoning effort: Oracle β [L9] (proof-grade authority).
|
| 238 |
+
Mindset: Exhaustive formal verification. Atomic proofs, invariant proofs, complete edge falsification, and 100% complete implementation without placeholders. Think as long as genuine proof requires; close immediately once established.
|
|
|
|
| 239 |
{%- endset %}
|
| 240 |
{%- set inst_swarm -%}
|
| 241 |
Reasoning effort: Swarm β 20-perspective divergent swarm (specialized mode).
|
| 242 |
+
Mindset: Four-phase convergent breakdown. Phase 1: Disassembly to core parameters. Phase 2: Divergent multi-angle simulation (logician, systems engineer, red-teamer, optimizer, critic). Phase 3: Cross-pollination and tension resolution. Phase 4: Convergence onto master deliverable.
|
| 243 |
+
Output contract: Conclude thinking and open final response with "[SWARM VERDICT]" followed by a decisive synthesis naming the winning vector and the primary objection survived.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 244 |
{%- endset %}
|
| 245 |
{%- set inst_deep_swarm -%}
|
| 246 |
+
Reasoning effort: Council β adversarial research council (specialized mode).
|
| 247 |
+
Mindset: Five-protocol institutional deliberation. Protocol 1: Parameter calibration and success criteria. Protocol 2: Multi-specialist panel assembly. Protocol 3: Adversarial debate and stress-testing. Protocol 4: Trade-off scoring matrix. Protocol 5: Master architecture.
|
| 248 |
+
Output contract: Conclude thinking and open final response with "[COUNCIL VERDICT]" followed by the definitive ruling, key justification, and dissenting risk accounted for.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 249 |
{%- endset %}
|
| 250 |
|
| 251 |
{#- ================================================================== -#}
|
|
|
|
| 583 |
{%- set _suppress_tools = _runtime_tool_protocol %}
|
| 584 |
{%- endif %}
|
| 585 |
|
| 586 |
+
{#- System emission: profile + soft contract + tools. -#}
|
| 587 |
+
{{- bos_token -}}
|
| 588 |
{%- if reasoning_instructions or _sc or (_has_tools and not _suppress_tools) %}
|
| 589 |
{{- '<|start_header_id|>system<|end_header_id|>\n\n' }}
|
| 590 |
{%- if reasoning_instructions %}
|
|
|
|
| 813 |
{%- set ns2.consecutive_failures = 0 %}
|
| 814 |
{%- endif %}
|
| 815 |
{%- if ns2.prev_role != 'tool' %}
|
| 816 |
+
{{- '<|im_start|>user' }}
|
| 817 |
{%- endif %}
|
| 818 |
{%- set _is_json_payload = (_tool_format == 'json' and content | trim | length > 0 and (content | trim)[:1] in ('{', '[')) %}
|
| 819 |
{%- if not _is_json_payload and max_tool_response_chars > 0 and content | length > max_tool_response_chars %}
|