You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a1eed81
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: content/_index.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -16,4 +16,4 @@
16
16
<pid="objective" class="model-objective"></p><divclass="workspace"><divclass="visual-column"><divid="stage" aria-label="3D model diagram"><divid="canvas-host"></div><divclass="scene-note"><spanclass="dot"></span><spanid="scene-note">Your design will appear here</span></div><divclass="scene-help" id="scene-help">Drag to orbit · Scroll to zoom · Select a layer</div><divclass="view-mark" aria-hidden="true">X <span>⌁</span> Y</div><divid="fallback"><divclass="empty-symbol">⌘</div><h3>Your design starts here.</h3><p>Describe your task in the chat. Your model will take shape here as the designer learns what you need.</p></div></div><divid="layer-list" hiddenaria-label="Model layers"></div><divclass="layer-strip" id="layer-strip" aria-label="Select a layer"></div><divclass="flow-caption" id="flow-caption" role="status">An architecture preview. No trained weights or predictions.</div></div>
17
17
<asideclass="inspector" aria-label="Selected layer details"><divclass="inspector-kicker"><spanid="layer-index">WAITING FOR YOUR IDEA</span><spanid="layer-kind"></span></div><divclass="layer-glyph" aria-hidden="true">⠿</div><h3id="layer-title">Your model starts here</h3><pid="layer-description"></p><dl><div><dt>Output shape</dt><ddid="layer-shape"></dd></div><div><dt>Parameters</dt><ddid="layer-params"></dd></div></dl><divclass="inspector-subtitle">IN THIS LAYER</div><ulid="layer-items"></ul><pclass="inspector-tip">Select any layer to take a closer look.</p></aside></div>
<detailsclass="design-context"><summary>Design details & evidence</summary><dl><dt>Architecture</dt><ddid="architecture">Not specified yet.</dd><dt>Compute</dt><ddid="compute">Training runs on your hardware.</dd><dt>Research</dt><ddid="research">No design yet.</dd><dt>Local handoff</dt><dd><codeid="instruction">Read https://zer.foo/start/ and help me create, train and run a Zerfoo model on my hardware using Kazi.</code><buttonid="copy" type="button">Copy instruction</button><spanid="copied" role="status"></span></dd></dl></details><pclass="workspace-foot">Design here. Train, evaluate and run on your hardware.</p></section></section></main><divclass="toast" role="status" aria-live="polite"></div><scripttype="module" src="/create/app.mjs"></script></body></html>
19
+
<detailsclass="design-context"><summary>Design details & evidence</summary><dl><dt>Architecture</dt><ddid="architecture">Not specified yet.</dd><dt>Compute</dt><ddid="compute">Training runs on your hardware.</dd><dt>Research</dt><ddid="research">No design yet.</dd><dt>Local handoff</dt><dd><codeid="instruction">Read https://zer.foo/start/ and help me create, train and run a Zerfoo model on my hardware using Kazi.</code><buttonid="copy" type="button">Copy instruction</button><spanid="copied" role="status"></span></dd></dl></details><pclass="workspace-foot">Design here. Train, evaluate and run on your hardware.</p></section></section></main><divclass="toast" role="status" aria-live="polite"></div><scripttype="module" src="/create/app.mjs?v=sequential-1"></script></body></html>
if(supported&&(!p.features.length||newSet(p.features).size!==p.features.length||p.features.includes(p.target)))throwError('The numeric recipe needs distinct features that exclude the target.');
11
-
constlayers=supported?[
11
+
letlayers=supported?[
12
12
{id:'input',name:'Your inputs',kind:'Input',count:p.features.length,color:'#78d0cd',subtitle:`${p.features.length} numeric features`,description:'One number for each measurement. These are the columns your model will read, in the order shown.',items:p.features,shape:`[batch, ${p.features.length}]`,params:0},
13
13
{id:'dense',name:'Find patterns',kind:'Dense',count:16,color:'#e4d58f',subtitle:'16 connected units',description:'Each unit combines all your inputs. Training adjusts these connections to find patterns that help distinguish the classes.',items:['Every input connects to every unit','Weights and biases learned locally'],shape:'[batch, 16]',params:p.features.length*16+16},
14
14
{id:'relu',name:'Add flexibility',kind:'ReLU',count:16,color:'#d4d77b',subtitle:'ReLU activation',description:'Keeps positive values and replaces negative values with zero. This lets the model learn more than a straight-line relationship.',items:['16 values in → 16 values out','No trainable parameters'],shape:'[batch, 16]',params:0},
15
15
{id:'output',name:'Class scores',kind:'Dense',count:exampleLabels?.length??null,color:'#a4d5a8',subtitle:exampleLabels?`${exampleLabels.length} example classes`:'Class count determined locally',description:exampleLabels?'One score for each example class. These labels illustrate the design; no trained model or prediction is loaded.':'One score for each distinct target label. The number of classes is discovered when your local dataset is inspected.',items:exampleLabels??['Target: '+(p.target||'not specified'),'Class labels are not in the design response'],shape:`[batch, ${exampleLabels?.length??'classes'}]`,params:exampleLabels?17*exampleLabels.length:null}
16
16
]:(p.components||[]).map((id,i)=>({id:'component-'+i,name:id.split('/').pop(),kind:'Component',count:1,color:'#78d0cd',subtitle:'Proposed component',description:'Selected by the designer. Its dimensions, connections and implementation still need local validation.',items:[id],shape:'Not yet specified',params:null}));
17
-
return{project:p,layers,supported,example:!!exampleLabels,objective:p.objective||'Your model design',parameters:supported&&exampleLabels?(p.features.length+1)*16+17*exampleLabels.length:null};
return{project:p,layers,supported:supported||!!(p.task==='component_design'&&p.topology),starter:supported,example:!!exampleLabels,objective:p.objective||'Your model design',parameters:supported&&exampleLabels?(p.features.length+1)*16+17*exampleLabels.length:null};
return{id:'layer-'+i,name:layer.kind==='Input'?'Input':layer.kind==='Dense'?(i===topology.layers.length-1?'Output layer':'Hidden layer') :layer.kind,kind:layer.kind,count,color:colors[i%colors.length],subtitle:count===null?'Width not yet specified':`${count}${activation?'values':'units'}`,description:layer.kind==='Dense'?'A proposed fully connected layer. Its weights and biases will be learned during local training.':layer.kind==='Input'?'The model input. Its width will be set for your task.':'A proposed '+layer.kind+' operation, preserving the preceding layer width.',items:['Proposed sequential connection',count===null?'Dimension remains unspecified':`${count} values${count>32?' (32 drawn)':''}`],shape:`[batch, ${count??'?'}]`,params};
0 commit comments