初始化项目,由ModelHub XC社区提供模型
Model: SZLHOLDINGS/SZL-Khipu-1.5B Source: Original Platform
This commit is contained in:
145
assets/architecture.svg
Normal file
145
assets/architecture.svg
Normal file
@@ -0,0 +1,145 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="800" height="620" viewBox="0 0 800 620" font-family="ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif" role="img" aria-labelledby="diagTitle diagDesc">
|
||||
<title id="diagTitle">SZL-Khipu-1.5B-BrainNavigator: placement in the Brain chain, kernel boundary, and verification zones</title>
|
||||
<desc id="diagDesc">A JSON contract of a query plus candidate node handles is fed to BrainNavigator, a 1.5B QLoRA retrieval navigator that emits a schema-constrained JSON plan (NAVIGATE or ABSTAIN) citing only offered handles. Its outputs are proposals only; an external controller must validate the plan and gate execution outside the model weights, because a 2 of 6 abstention result blocks autonomous promotion. A receipts rail records owner-signed training and evaluation receipts (Ed25519 over canonical JSON) re-verified at the family wall on a-11-oy.com. Three verification zones are shown: SIGNED (receipts verifiable offline), REPORTED (owner-run eval counts), and MODELED (governance mechanism, not formally verified).</desc>
|
||||
|
||||
<!-- palette: teal #3af4c8 signed/verifiable, blue #5b8dee model, gold #d7b96b modeled/boundary -->
|
||||
<defs>
|
||||
<marker id="arrowBlue" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">
|
||||
<path d="M 0 0 L 10 5 L 0 10 z" fill="#5b8dee"/>
|
||||
</marker>
|
||||
<marker id="arrowGold" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">
|
||||
<path d="M 0 0 L 10 5 L 0 10 z" fill="#d7b96b"/>
|
||||
</marker>
|
||||
<marker id="arrowTeal" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">
|
||||
<path d="M 0 0 L 10 5 L 0 10 z" fill="#3af4c8"/>
|
||||
</marker>
|
||||
</defs>
|
||||
<rect x="0" y="0" width="800" height="620" fill="#0d1117"/>
|
||||
|
||||
<!-- ============ ZONE BANDS (background) ============ -->
|
||||
<!-- SIGNED band (left rail) -->
|
||||
<rect x="16" y="88" width="176" height="452" rx="10" fill="#3af4c8" fill-opacity="0.06" stroke="#3af4c8" stroke-opacity="0.35" stroke-width="1"/>
|
||||
<!-- REPORTED band (center: model + eval) -->
|
||||
<rect x="208" y="88" width="352" height="452" rx="10" fill="#5b8dee" fill-opacity="0.06" stroke="#5b8dee" stroke-opacity="0.35" stroke-width="1"/>
|
||||
<!-- MODELED band (right: governance/boundary) -->
|
||||
<rect x="576" y="88" width="208" height="452" rx="10" fill="#d7b96b" fill-opacity="0.06" stroke="#d7b96b" stroke-opacity="0.35" stroke-width="1"/>
|
||||
|
||||
<!-- band captions -->
|
||||
<text x="104" y="108" text-anchor="middle" fill="#3af4c8" font-size="12" font-weight="700" letter-spacing="1.5">SIGNED</text>
|
||||
<text x="384" y="108" text-anchor="middle" fill="#5b8dee" font-size="12" font-weight="700" letter-spacing="1.5">REPORTED</text>
|
||||
<text x="680" y="108" text-anchor="middle" fill="#d7b96b" font-size="12" font-weight="700" letter-spacing="1.5">MODELED</text>
|
||||
|
||||
<!-- ============ HEADER ============ -->
|
||||
<text x="24" y="36" fill="#e6edf3" font-size="21" font-weight="700">SZL-Khipu-1.5B-BrainNavigator</text>
|
||||
<text x="24" y="58" fill="#8b949e" font-size="13">Governed retrieval navigator inside a controller boundary — placement, kernel boundary, and verification zones</text>
|
||||
<text x="24" y="76" fill="#6e7681" font-size="11">Published-claims only. Base model pinned: Qwen/Qwen2.5-1.5B-Instruct (QLoRA SFT).</text>
|
||||
|
||||
<!-- ============ INPUT: JSON contract ============ -->
|
||||
<rect x="228" y="128" width="312" height="66" rx="8" fill="#161b22" stroke="#5b8dee" stroke-width="1.5"/>
|
||||
<text x="384" y="150" text-anchor="middle" fill="#5b8dee" font-size="13" font-weight="700">Input JSON contract</text>
|
||||
<text x="384" y="169" text-anchor="middle" fill="#c9d1d9" font-size="11">{ query, candidates: [{ nodeId, nodeKind, label, note }] }</text>
|
||||
<text x="384" y="185" text-anchor="middle" fill="#8b949e" font-size="10.5">handles + synthetic metadata only — never node content</text>
|
||||
|
||||
<!-- arrow input -> navigator -->
|
||||
<line x1="384" y1="194" x2="384" y2="220" stroke="#5b8dee" stroke-width="2" marker-end="url(#arrowBlue)"/>
|
||||
|
||||
<!-- ============ BRAINNAVIGATOR (model) ============ -->
|
||||
<rect x="240" y="220" width="288" height="112" rx="10" fill="#12203a" stroke="#5b8dee" stroke-width="2.5"/>
|
||||
<text x="384" y="245" text-anchor="middle" fill="#5b8dee" font-size="15" font-weight="700">BrainNavigator</text>
|
||||
<text x="384" y="264" text-anchor="middle" fill="#c9d1d9" font-size="11">1.5B QLoRA navigator · grounded-only</text>
|
||||
<text x="384" y="283" text-anchor="middle" fill="#c9d1d9" font-size="11">selects / plans over PROVIDED candidates</text>
|
||||
<text x="384" y="302" text-anchor="middle" fill="#c9d1d9" font-size="11">schema-constrained output (khipu.schema.json)</text>
|
||||
<text x="384" y="321" text-anchor="middle" fill="#8b949e" font-size="10.5">holds no node content · never answers from memory · never acts</text>
|
||||
|
||||
<!-- arrow navigator -> plan -->
|
||||
<line x1="384" y1="332" x2="384" y2="358" stroke="#5b8dee" stroke-width="2" marker-end="url(#arrowBlue)"/>
|
||||
|
||||
<!-- ============ OUTPUT: JSON plan (proposal) ============ -->
|
||||
<rect x="240" y="358" width="288" height="88" rx="8" fill="#161b22" stroke="#d7b96b" stroke-width="1.5" stroke-dasharray="6 4"/>
|
||||
<text x="384" y="380" text-anchor="middle" fill="#d7b96b" font-size="13" font-weight="700">JSON plan — PROPOSAL only</text>
|
||||
<text x="384" y="399" text-anchor="middle" fill="#c9d1d9" font-size="11">NAVIGATE (≥1 citation, no abstainReason)</text>
|
||||
<text x="384" y="416" text-anchor="middle" fill="#c9d1d9" font-size="11">or ABSTAIN (zero citations + abstainReason)</text>
|
||||
<text x="384" y="433" text-anchor="middle" fill="#8b949e" font-size="10.5">citedNodeIds ⊆ offered candidates · contentAccess=HANDLES_ONLY</text>
|
||||
|
||||
<!-- ============ PROPOSAL-ONLY / KERNEL BOUNDARY ============ -->
|
||||
<!-- vertical boundary line separating model side from execution side -->
|
||||
<line x1="560" y1="128" x2="560" y2="540" stroke="#d7b96b" stroke-width="2" stroke-dasharray="4 5" stroke-opacity="0.8"/>
|
||||
<text x="560" y="122" text-anchor="middle" fill="#d7b96b" font-size="10.5" font-weight="700">kernel / proposal boundary</text>
|
||||
|
||||
<!-- arrow plan -> controller (crosses boundary) -->
|
||||
<line x1="528" y1="402" x2="606" y2="402" stroke="#d7b96b" stroke-width="2" marker-end="url(#arrowGold)"/>
|
||||
<text x="567" y="394" text-anchor="middle" fill="#8b949e" font-size="9.5">gate</text>
|
||||
|
||||
<!-- ============ EXTERNAL CONTROLLER (outside boundary) ============ -->
|
||||
<rect x="606" y="220" width="160" height="112" rx="10" fill="#1c1a12" stroke="#d7b96b" stroke-width="2"/>
|
||||
<text x="686" y="244" text-anchor="middle" fill="#d7b96b" font-size="13" font-weight="700">External controller</text>
|
||||
<text x="686" y="262" text-anchor="middle" fill="#c9d1d9" font-size="10.5">(e.g. Alloy) — outside</text>
|
||||
<text x="686" y="277" text-anchor="middle" fill="#c9d1d9" font-size="10.5">the model weights</text>
|
||||
<text x="686" y="296" text-anchor="middle" fill="#c9d1d9" font-size="10.5">validates plan · resolves</text>
|
||||
<text x="686" y="311" text-anchor="middle" fill="#c9d1d9" font-size="10.5">handles · applies governance</text>
|
||||
<text x="686" y="326" text-anchor="middle" fill="#8b949e" font-size="10">MUST gate execution</text>
|
||||
|
||||
<!-- arrow controller -> execution -->
|
||||
<line x1="686" y1="332" x2="686" y2="360" stroke="#d7b96b" stroke-width="2" marker-end="url(#arrowGold)"/>
|
||||
|
||||
<!-- ============ EXECUTION LAYER (outside model boundary) ============ -->
|
||||
<rect x="606" y="360" width="160" height="86" rx="8" fill="#161b22" stroke="#d7b96b" stroke-width="1.5"/>
|
||||
<text x="686" y="382" text-anchor="middle" fill="#d7b96b" font-size="12.5" font-weight="700">Execution layer</text>
|
||||
<text x="686" y="400" text-anchor="middle" fill="#c9d1d9" font-size="10.5">outside the model</text>
|
||||
<text x="686" y="415" text-anchor="middle" fill="#c9d1d9" font-size="10.5">boundary</text>
|
||||
<text x="686" y="433" text-anchor="middle" fill="#8b949e" font-size="10">autonomous promotion blocked</text>
|
||||
|
||||
<!-- abstention blocker callout -->
|
||||
<rect x="240" y="462" width="288" height="60" rx="8" fill="#1c1a12" stroke="#d7b96b" stroke-width="1.5"/>
|
||||
<text x="384" y="484" text-anchor="middle" fill="#d7b96b" font-size="12" font-weight="700">Why autonomous promotion is blocked</text>
|
||||
<text x="384" y="502" text-anchor="middle" fill="#c9d1d9" font-size="10.5">abstain 2 / 6 (owner-run) is a visible release blocker;</text>
|
||||
<text x="384" y="516" text-anchor="middle" fill="#c9d1d9" font-size="10.5">keep a validating controller and fail closed.</text>
|
||||
|
||||
<!-- ============ RECEIPTS RAIL (SIGNED zone, left) ============ -->
|
||||
<rect x="32" y="128" width="144" height="150" rx="8" fill="#0e2320" stroke="#3af4c8" stroke-width="1.5"/>
|
||||
<text x="104" y="150" text-anchor="middle" fill="#3af4c8" font-size="12.5" font-weight="700">Receipts rail</text>
|
||||
<text x="104" y="169" text-anchor="middle" fill="#c9d1d9" font-size="10.5">training receipt (signed)</text>
|
||||
<text x="104" y="185" text-anchor="middle" fill="#c9d1d9" font-size="10.5">eval receipt (signed)</text>
|
||||
<text x="104" y="201" text-anchor="middle" fill="#c9d1d9" font-size="10.5">Ed25519 · canonical JSON</text>
|
||||
<text x="104" y="217" text-anchor="middle" fill="#c9d1d9" font-size="10.5">owner key 89540347a69b789e</text>
|
||||
<text x="104" y="233" text-anchor="middle" fill="#8b949e" font-size="10">eval → training hash chain</text>
|
||||
<text x="104" y="249" text-anchor="middle" fill="#8b949e" font-size="10">verify OFFLINE</text>
|
||||
<text x="104" y="266" text-anchor="middle" fill="#8b949e" font-size="10">trust anchor: REPO_DECLARED</text>
|
||||
|
||||
<!-- family wall box -->
|
||||
<rect x="32" y="292" width="144" height="86" rx="8" fill="#0e2320" stroke="#3af4c8" stroke-width="1.5"/>
|
||||
<text x="104" y="314" text-anchor="middle" fill="#3af4c8" font-size="12" font-weight="700">Family wall</text>
|
||||
<text x="104" y="332" text-anchor="middle" fill="#c9d1d9" font-size="10.5">re-verification at</text>
|
||||
<text x="104" y="348" text-anchor="middle" fill="#c9d1d9" font-size="10.5">a-11-oy.com</text>
|
||||
<text x="104" y="366" text-anchor="middle" fill="#8b949e" font-size="10">server-side Ed25519 re-verify</text>
|
||||
|
||||
<!-- reported counts box (in SIGNED rail but labeled REPORTED scope) -->
|
||||
<rect x="32" y="392" width="144" height="130" rx="8" fill="#111820" stroke="#5b8dee" stroke-width="1.5"/>
|
||||
<text x="104" y="414" text-anchor="middle" fill="#5b8dee" font-size="12" font-weight="700">Owner-run eval</text>
|
||||
<text x="104" y="431" text-anchor="middle" fill="#8b949e" font-size="9.5">(REPORTED, small synthetic</text>
|
||||
<text x="104" y="444" text-anchor="middle" fill="#8b949e" font-size="9.5">harness — not a benchmark)</text>
|
||||
<text x="104" y="464" text-anchor="middle" fill="#c9d1d9" font-size="10.5">plan-valid 11 / 11</text>
|
||||
<text x="104" y="480" text-anchor="middle" fill="#c9d1d9" font-size="10.5">grounding 4 / 5</text>
|
||||
<text x="104" y="496" text-anchor="middle" fill="#d7b96b" font-size="10.5">abstain 2 / 6</text>
|
||||
<text x="104" y="512" text-anchor="middle" fill="#c9d1d9" font-size="10.5">hallucinated citations 0</text>
|
||||
|
||||
<!-- receipts rail link into model (SIGNED covers the receipts alongside model) -->
|
||||
<line x1="176" y1="203" x2="240" y2="255" stroke="#3af4c8" stroke-width="1.5" stroke-dasharray="4 4" marker-end="url(#arrowTeal)"/>
|
||||
<text x="208" y="222" text-anchor="middle" fill="#3af4c8" font-size="9">attests</text>
|
||||
|
||||
<!-- ============ LEGEND (bottom) ============ -->
|
||||
<rect x="16" y="552" width="768" height="52" rx="8" fill="#161b22" stroke="#30363d" stroke-width="1"/>
|
||||
<text x="28" y="570" fill="#8b949e" font-size="11" font-weight="700">ZONES</text>
|
||||
|
||||
<rect x="82" y="561" width="13" height="13" rx="2" fill="#3af4c8" fill-opacity="0.5" stroke="#3af4c8"/>
|
||||
<text x="101" y="572" fill="#c9d1d9" font-size="10.5">SIGNED — real Ed25519 over canonical JSON, verify offline</text>
|
||||
|
||||
<rect x="82" y="581" width="13" height="13" rx="2" fill="#5b8dee" fill-opacity="0.5" stroke="#5b8dee"/>
|
||||
<text x="101" y="592" fill="#c9d1d9" font-size="10.5">REPORTED — owner-run eval counts (synthetic harness, not third-party)</text>
|
||||
|
||||
<rect x="452" y="561" width="13" height="13" rx="2" fill="#d7b96b" fill-opacity="0.5" stroke="#d7b96b"/>
|
||||
<text x="471" y="572" fill="#c9d1d9" font-size="10.5">MODELED — schema + prompt contract + external gate</text>
|
||||
|
||||
<rect x="452" y="581" width="13" height="13" rx="2" fill="#0d1117" stroke="#d7b96b" stroke-dasharray="3 2"/>
|
||||
<text x="471" y="592" fill="#d7b96b" font-size="10.5" font-weight="700">no formal verification claimed</text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 12 KiB |
Reference in New Issue
Block a user