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: L10 Proteus support in qwen.jinja
Browse files- templates/qwen.jinja +58 -37
templates/qwen.jinja
CHANGED
|
@@ -17,18 +17,19 @@
|
|
| 17 |
{#- never regress into full restarts or circular overthinking loops. -#}
|
| 18 |
{#- 5. ABSOLUTE RESOLVE: Decisive, unhedged final delivery. Zero preamble. -#}
|
| 19 |
{#- -#}
|
| 20 |
-
{#- THE SPECTRUM (
|
| 21 |
{#- [L0] Mortal - thinking off; execute directly. -#}
|
| 22 |
-
{#- [L1] Hermes - rapid instinct
|
| 23 |
-
{#- [L2] Apollo -
|
| 24 |
-
{#- [L3] Artemis - edge-case
|
| 25 |
-
{#- [L4] Athena - strategic
|
| 26 |
-
{#- [L5] Prometheus - defensive engineering
|
| 27 |
-
{#- [L6] Solstice -
|
| 28 |
-
{#- [L7] Hyperion -
|
| 29 |
-
{#-
|
| 30 |
-
{#- [
|
| 31 |
-
{#- [
|
|
|
|
| 32 |
{#- swarm - 20-perspective divergent swarm, verdict line. -#}
|
| 33 |
{#- council - adversarial research council, verdict line. -#}
|
| 34 |
{#- -#}
|
|
@@ -144,7 +145,7 @@
|
|
| 144 |
{%- set t3 = t2 | replace('<|think_on|>', '') | replace('<|think_off|>', '') | replace('<|think_minimal|>', '') | replace('<|think_low|>', '') | replace('<|think_medium|>', '') | replace('<|think_high|>', '') | replace('<|think_xhigh|>', '') | replace('<|think_ultracode|>', '') | replace('<|think_extreme|>', '') | replace('<|think_max|>', '') %}
|
| 145 |
{#- NB: no for-loops here β Jinja set does not persist across loop -#}
|
| 146 |
{#- iterations, so every strip must live in one chained expression. -#}
|
| 147 |
-
{%- set out = t3 | replace('[regular]', '') | replace('[REGULAR]', '') | replace('[vanilla]', '') | replace('[standard]', '') | replace('[default]', '') | replace('[L0]', '') | replace('[l0]', '') | replace('[L1]', '') | replace('[l1]', '') | replace('[L2]', '') | replace('[l2]', '') | replace('[L3]', '') | replace('[l3]', '') | replace('[L4]', '') | replace('[l4]', '') | replace('[L5]', '') | replace('[l5]', '') | replace('[L6]', '') | replace('[l6]', '') | replace('[L7]', '') | replace('[l7]', '') | replace('[L8]', '') | replace('[l8]', '') | replace('[L9]', '') | replace('[l9]', '') %}
|
| 148 |
{{- out }}
|
| 149 |
{%- endmacro %}
|
| 150 |
|
|
@@ -203,31 +204,31 @@ Operational Directives:
|
|
| 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
|
| 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
|
| 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
|
| 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
|
| 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
|
| 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
|
| 227 |
{%- endset %}
|
| 228 |
{%- set inst_hyperion -%}
|
| 229 |
-
Reasoning effort: Hyperion β [L7] (first-principles synthesis
|
| 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
|
| 231 |
{%- endset %}
|
| 232 |
{%- set inst_einstein -%}
|
| 233 |
Reasoning effort: Einstein β [L8] (theoretical mastery).
|
|
@@ -237,6 +238,17 @@ Mindset: Invariant reduction and breakthrough synthesis. Strip peripheral comple
|
|
| 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.
|
|
@@ -274,7 +286,7 @@ Output contract: Conclude thinking and open final response with "[COUNCIL VERDIC
|
|
| 274 |
{%- set _kwarg_effort = thinking_level | string | lower | trim %}
|
| 275 |
{%- endif %}
|
| 276 |
{%- set _initial_thinking = enable_thinking %}
|
| 277 |
-
{%- set _initial_effort = '
|
| 278 |
{%- set _depth_explicit = false %}
|
| 279 |
{%- if _kwarg_effort %}
|
| 280 |
{%- set _depth_explicit = true %}
|
|
@@ -309,7 +321,7 @@ Output contract: Conclude thinking and open final response with "[COUNCIL VERDIC
|
|
| 309 |
{%- set _hi.v = true %}
|
| 310 |
{%- endif %}
|
| 311 |
{%- if _is_steering and not _hi.v %}
|
| 312 |
-
{%- for n in range(
|
| 313 |
{%- if '[l' ~ n ~ ']' in _low %}
|
| 314 |
{%- set _hi.v = true %}
|
| 315 |
{%- endif %}
|
|
@@ -360,18 +372,25 @@ Output contract: Conclude thinking and open final response with "[COUNCIL VERDIC
|
|
| 360 |
{%- set ns_state.mode = 'level' %}
|
| 361 |
{%- set store.saw_inline = true %}
|
| 362 |
{%- endif %}
|
| 363 |
-
{%-
|
| 364 |
-
{%-
|
| 365 |
-
|
| 366 |
-
|
| 367 |
-
|
| 368 |
-
|
| 369 |
-
|
| 370 |
-
{%-
|
| 371 |
-
{%- set ns_state.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 372 |
{%- endif %}
|
| 373 |
-
{%-
|
| 374 |
-
{%-
|
| 375 |
{%- endif %}
|
| 376 |
{#- {REASON:...} / [MODE:...] extraction (any role). -#}
|
| 377 |
{%- set _tagged = ('{REASON:' in _txt) or ('[MODE:' in _txt) %}
|
|
@@ -438,7 +457,7 @@ Output contract: Conclude thinking and open final response with "[COUNCIL VERDIC
|
|
| 438 |
{#- NB: int-filter round-trip instead of .isdigit() β minja (llama.cpp) -#}
|
| 439 |
{#- does not implement string.isdigit(). -#}
|
| 440 |
{%- set _eff_int = ns_state.effort | int %}
|
| 441 |
-
{%- if ns_state.mode == 'level' and ns_state.effort is string and (_eff_int | string) == ns_state.effort and _eff_int >=
|
| 442 |
{%- set _n = ns_state.effort | int %}
|
| 443 |
{%- set ns_state.thinking = true %}
|
| 444 |
{%- if _n <= 14 %}
|
|
@@ -510,8 +529,10 @@ Output contract: Conclude thinking and open final response with "[COUNCIL VERDIC
|
|
| 510 |
{#- reasons at that quality internally while thinking tags stay closed. -#}
|
| 511 |
{%- set reasoning_instructions = '' %}
|
| 512 |
{%- if ns_state.thinking or ns_state.silent_profile %}
|
| 513 |
-
{%- set target_mode = ns_state.effort if ns_state.effort else '
|
| 514 |
-
{%- if target_mode in ('
|
|
|
|
|
|
|
| 515 |
{%- set reasoning_instructions = inst_hermes %}
|
| 516 |
{%- elif target_mode in ('2', 'apollo', 'low') %}
|
| 517 |
{%- set reasoning_instructions = inst_apollo %}
|
|
@@ -534,7 +555,7 @@ Output contract: Conclude thinking and open final response with "[COUNCIL VERDIC
|
|
| 534 |
{%- elif target_mode in ('deep-swarm', 'oracle-swarm', 'council', 'amax-swarm', 'deep-research', 'spoon', 'adversarial') %}
|
| 535 |
{%- set reasoning_instructions = inst_deep_swarm %}
|
| 536 |
{%- else %}
|
| 537 |
-
{%- set reasoning_instructions =
|
| 538 |
{%- endif %}
|
| 539 |
{%- endif %}
|
| 540 |
|
|
|
|
| 17 |
{#- never regress into full restarts or circular overthinking loops. -#}
|
| 18 |
{#- 5. ABSOLUTE RESOLVE: Decisive, unhedged final delivery. Zero preamble. -#}
|
| 19 |
{#- -#}
|
| 20 |
+
{#- THE SPECTRUM (governed purely by problem constraints & verification): -#}
|
| 21 |
{#- [L0] Mortal - thinking off; execute directly. -#}
|
| 22 |
+
{#- [L1] Hermes - rapid instinct; immediate verification pass. -#}
|
| 23 |
+
{#- [L2] Apollo - disciplined deduction; linear constraint trace. -#}
|
| 24 |
+
{#- [L3] Artemis - edge-case & boundary vulnerability audit. -#}
|
| 25 |
+
{#- [L4] Athena - strategic synthesis; architectural trade-offs. -#}
|
| 26 |
+
{#- [L5] Prometheus - defensive engineering; second-order failure modeling. -#}
|
| 27 |
+
{#- [L6] Solstice - axiomatic derivation; multi-hypothesis stress testing. -#}
|
| 28 |
+
{#- [L7] Hyperion - ground-up first-principles decomposition. -#}
|
| 29 |
+
{#- [L8] Einstein - theoretical mastery; unified invariant reduction. -#}
|
| 30 |
+
{#- [L9] Oracle - proof-grade formal authority; zero placeholders. -#}
|
| 31 |
+
{#- [L10] Proteus - dynamic cognitive adaptation (Default); auto-calibrated -#}
|
| 32 |
+
{#- impedance matching across all levels with early exit. -#}
|
| 33 |
{#- swarm - 20-perspective divergent swarm, verdict line. -#}
|
| 34 |
{#- council - adversarial research council, verdict line. -#}
|
| 35 |
{#- -#}
|
|
|
|
| 145 |
{%- set t3 = t2 | replace('<|think_on|>', '') | replace('<|think_off|>', '') | replace('<|think_minimal|>', '') | replace('<|think_low|>', '') | replace('<|think_medium|>', '') | replace('<|think_high|>', '') | replace('<|think_xhigh|>', '') | replace('<|think_ultracode|>', '') | replace('<|think_extreme|>', '') | replace('<|think_max|>', '') %}
|
| 146 |
{#- NB: no for-loops here β Jinja set does not persist across loop -#}
|
| 147 |
{#- iterations, so every strip must live in one chained expression. -#}
|
| 148 |
+
{%- set out = t3 | replace('[regular]', '') | replace('[REGULAR]', '') | replace('[vanilla]', '') | replace('[standard]', '') | replace('[default]', '') | replace('[L10]', '') | replace('[l10]', '') | replace('[L0]', '') | replace('[l0]', '') | replace('[L1]', '') | replace('[l1]', '') | replace('[L2]', '') | replace('[l2]', '') | replace('[L3]', '') | replace('[l3]', '') | replace('[L4]', '') | replace('[l4]', '') | replace('[L5]', '') | replace('[l5]', '') | replace('[L6]', '') | replace('[l6]', '') | replace('[L7]', '') | replace('[l7]', '') | replace('[L8]', '') | replace('[l8]', '') | replace('[L9]', '') | replace('[l9]', '') %}
|
| 149 |
{{- out }}
|
| 150 |
{%- endmacro %}
|
| 151 |
|
|
|
|
| 204 |
|
| 205 |
{%- set inst_hermes -%}
|
| 206 |
Reasoning effort: Hermes β [L1] (rapid instinct).
|
| 207 |
+
Mindset: High-velocity execution. Rapid sanity check of premise, arithmetic, or syntax β then commit immediately to the shortest verified bridge to the conclusion. Conclude immediately once obvious.
|
| 208 |
{%- endset %}
|
| 209 |
{%- set inst_apollo -%}
|
| 210 |
Reasoning effort: Apollo β [L2] (disciplined deduction).
|
| 211 |
+
Mindset: Structured, transparent logic. Isolate given constraints, trace linear implications with zero detour, and exit thinking the instant premise validation is reached.
|
| 212 |
{%- endset %}
|
| 213 |
{%- set inst_artemis -%}
|
| 214 |
Reasoning effort: Artemis β [L3] (boundary & failure audit).
|
| 215 |
+
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.
|
| 216 |
{%- endset %}
|
| 217 |
{%- set inst_athena -%}
|
| 218 |
Reasoning effort: Athena β [L4] (strategic architecture).
|
| 219 |
+
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.
|
| 220 |
{%- endset %}
|
| 221 |
{%- set inst_prometheus -%}
|
| 222 |
Reasoning effort: Prometheus β [L5] (defensive engineering).
|
| 223 |
+
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.
|
| 224 |
{%- endset %}
|
| 225 |
{%- set inst_solstice -%}
|
| 226 |
Reasoning effort: Solstice β [L6] (deep systemic derivation).
|
| 227 |
+
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.
|
| 228 |
{%- endset %}
|
| 229 |
{%- set inst_hyperion -%}
|
| 230 |
+
Reasoning effort: Hyperion β [L7] (first-principles synthesis).
|
| 231 |
+
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.
|
| 232 |
{%- endset %}
|
| 233 |
{%- set inst_einstein -%}
|
| 234 |
Reasoning effort: Einstein β [L8] (theoretical mastery).
|
|
|
|
| 238 |
Reasoning effort: Oracle β [L9] (proof-grade authority).
|
| 239 |
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.
|
| 240 |
{%- endset %}
|
| 241 |
+
{%- set inst_proteus -%}
|
| 242 |
+
Reasoning effort: Proteus β [L10] (dynamic adaptive reasoning; default).
|
| 243 |
+
Mindset: Fluid cognitive adaptation. Zero predetermined depth or token quotas. Allocate only the exact reasoning required by the problem's verified constraints:
|
| 244 |
+
- Low Complexity (Direct questions, lookups, syntax, simple facts): Conclude reasoning immediately and output the answer directly with zero overhead.
|
| 245 |
+
- Moderate Complexity (Refactoring, multi-step algorithms, debugging, edge cases): Engage targeted validation. Audit boundary constraints, construct the solution, and exit.
|
| 246 |
+
- High Complexity (Axiomatic proofs, novel systems architecture, hard mathematics): Formulate first-principles derivations. Trace every invariant until proven.
|
| 247 |
+
Operating Directives:
|
| 248 |
+
- Draw dynamically from whichever cognitive modes are needed: boundary falsification, structural trade-offs, defensive engineering, or foundational axioms.
|
| 249 |
+
- Eliminate all self-conversational chatter ("let's see", "hmm", "wait"). Move strictly forward.
|
| 250 |
+
- Terminate thinking immediately the instant the solution is definitively established and verified. Correctness is the sole boundary.
|
| 251 |
+
{%- endset %}
|
| 252 |
{%- set inst_swarm -%}
|
| 253 |
Reasoning effort: Swarm β 20-perspective divergent swarm (specialized mode).
|
| 254 |
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.
|
|
|
|
| 286 |
{%- set _kwarg_effort = thinking_level | string | lower | trim %}
|
| 287 |
{%- endif %}
|
| 288 |
{%- set _initial_thinking = enable_thinking %}
|
| 289 |
+
{%- set _initial_effort = '10' %}
|
| 290 |
{%- set _depth_explicit = false %}
|
| 291 |
{%- if _kwarg_effort %}
|
| 292 |
{%- set _depth_explicit = true %}
|
|
|
|
| 321 |
{%- set _hi.v = true %}
|
| 322 |
{%- endif %}
|
| 323 |
{%- if _is_steering and not _hi.v %}
|
| 324 |
+
{%- for n in range(11) %}
|
| 325 |
{%- if '[l' ~ n ~ ']' in _low %}
|
| 326 |
{%- set _hi.v = true %}
|
| 327 |
{%- endif %}
|
|
|
|
| 372 |
{%- set ns_state.mode = 'level' %}
|
| 373 |
{%- set store.saw_inline = true %}
|
| 374 |
{%- endif %}
|
| 375 |
+
{%- if '[l10]' in _low %}
|
| 376 |
+
{%- set ns_state.effort = '10' %}
|
| 377 |
+
{%- set ns_state.mode = 'level' %}
|
| 378 |
+
{%- set ns_state.thinking = true %}
|
| 379 |
+
{%- set store.saw_inline = true %}
|
| 380 |
+
{%- else %}
|
| 381 |
+
{%- for n in range(10) %}
|
| 382 |
+
{%- if '[l' ~ n ~ ']' in _low %}
|
| 383 |
+
{%- set ns_state.effort = n | string %}
|
| 384 |
+
{%- set ns_state.mode = 'level' %}
|
| 385 |
+
{%- set store.saw_inline = true %}
|
| 386 |
+
{%- if n == 0 %}
|
| 387 |
+
{%- set ns_state.thinking = false %}
|
| 388 |
+
{%- else %}
|
| 389 |
+
{%- set ns_state.thinking = true %}
|
| 390 |
+
{%- endif %}
|
| 391 |
{%- endif %}
|
| 392 |
+
{%- endfor %}
|
| 393 |
+
{%- endif %}
|
| 394 |
{%- endif %}
|
| 395 |
{#- {REASON:...} / [MODE:...] extraction (any role). -#}
|
| 396 |
{%- set _tagged = ('{REASON:' in _txt) or ('[MODE:' in _txt) %}
|
|
|
|
| 457 |
{#- NB: int-filter round-trip instead of .isdigit() β minja (llama.cpp) -#}
|
| 458 |
{#- does not implement string.isdigit(). -#}
|
| 459 |
{%- set _eff_int = ns_state.effort | int %}
|
| 460 |
+
{%- if ns_state.mode == 'level' and ns_state.effort is string and (_eff_int | string) == ns_state.effort and _eff_int >= 11 %}
|
| 461 |
{%- set _n = ns_state.effort | int %}
|
| 462 |
{%- set ns_state.thinking = true %}
|
| 463 |
{%- if _n <= 14 %}
|
|
|
|
| 529 |
{#- reasons at that quality internally while thinking tags stay closed. -#}
|
| 530 |
{%- set reasoning_instructions = '' %}
|
| 531 |
{%- if ns_state.thinking or ns_state.silent_profile %}
|
| 532 |
+
{%- set target_mode = ns_state.effort if ns_state.effort else '10' %}
|
| 533 |
+
{%- if target_mode in ('10', 'proteus', 'dynamic', 'auto', 'adaptive', 'fluid', 'default') %}
|
| 534 |
+
{%- set reasoning_instructions = inst_proteus %}
|
| 535 |
+
{%- elif target_mode in ('1', 'hermes', 'ulow', 'ultra-low', 'micro', 'minimal') %}
|
| 536 |
{%- set reasoning_instructions = inst_hermes %}
|
| 537 |
{%- elif target_mode in ('2', 'apollo', 'low') %}
|
| 538 |
{%- set reasoning_instructions = inst_apollo %}
|
|
|
|
| 555 |
{%- elif target_mode in ('deep-swarm', 'oracle-swarm', 'council', 'amax-swarm', 'deep-research', 'spoon', 'adversarial') %}
|
| 556 |
{%- set reasoning_instructions = inst_deep_swarm %}
|
| 557 |
{%- else %}
|
| 558 |
+
{%- set reasoning_instructions = inst_proteus %}
|
| 559 |
{%- endif %}
|
| 560 |
{%- endif %}
|
| 561 |
|