Spaces:
Running
Running
Merge branch 'main' of https://huggingface.co/spaces/Omega-Dev/Leviathan-Guide
Browse files238 unmodified lines239240241242243244245125 unmodified lines371372373374375376377238 unmodified lines<p align="center"><img src="screenshots/studio-merge-preview.png" width="900" alt="Merge Preview for Qwen 2.5 Coder 7B blended 50/50 with cad0: a verdict of likely broken, bars for each model and setting, a per-layer chart with layer 1 flagged, and the list of what to watch" /></p><p align="center"><sub>Qwen 2.5 Coder 7B blended 50/50 with cad0, its own CAD fine-tune: Preview finds 1,390 of layer 1's normalisation channels switched off in Qwen and on in cad0, and measures the blend as likely broken β 5.3Γ more surprised by the text than Qwen, and the same at 25 % and 75 %. Keeping Qwen's norm weights avoids the collapse, but that blend still scores worse than either model. Nothing was written.</sub></p>**πΉ Join SafeTensors**Hugging Face splits big models into numbered pieces (`model-00001-of-00004.safetensors` β¦) plus an index file. This joins them into one `.safetensors` file holding every tensor, byte for byte. Nothing is converted, any data type works, and memory use stays small whatever the model's size. Pick a piece, the `.index.json` or the model's folder. **Check** lists the pieces, tensors and output size before anything is written, and the pieces are never touched.- **Output** β by default a folder of its own (`<model folder>-joined\model.safetensors`) with the config and tokenizer files copied beside it, ready to load or convert. Keep it out of the pieces' folder: llama.cpp's converter reads the pieces listed in the index while that file is there, and every `model*.safetensors` in the folder when it isn't.125 unmodified lines<p align="center"><img src="screenshots/graph-magnifier.gif" width="716" alt="A 47-node graph zoomed out until its text is unreadable, with the magnifier lens gliding across it and showing each node at full size" /></p><p align="center"><sub>A parametric enclosure script as 47 nodes, zoomed out to 25 %: the middle button held, the lens glides across it at full size.</sub></p>What lifts it past an ordinary node editor is that a **model β or ANI β can read and build the graph alongside you.** The old trap with model-driven node tools was that the model was never told which nodes or ports existed, so it guessed and the whole thing fell apart β Leviathan hands the model that context, so it actually knows the graph it is working in and can lay one out or extend it on request. Ask in the graph's own chat box, or press **β ANI** to put the question to your knowledge banks instead. In the public build a model may *propose and build* a graph, but **only you run it**: the host keeps the trigger, never the guest. The model's graph-building turns draw on their own **Token budget**, set per surface in [Settings] like every other place a model writes.**Models that speak CAD.** A model trained to write whole parts in *Compact IR* β such as cad0 β is recognised: **βΆ Build** asks it once, in its own format, and Leviathan turns its answer into nodes line by line, reading each line out in plain words under the canvas as it lands. Nothing the model writes is run as code β its answer is data, translated into Leviathan's own CAD script and checked to make exactly the same part.238 unmodified lines239240241242243244125 unmodified lines370371372373374375238 unmodified lines<p align="center"><img src="screenshots/studio-merge-preview.png" width="900" alt="Merge Preview for Qwen 2.5 Coder 7B blended 50/50 with cad0: a verdict of likely broken, bars for each model and setting, a per-layer chart with layer 1 flagged, and the list of what to watch" /></p><p align="center"><sub>Qwen 2.5 Coder 7B blended 50/50 with cad0, its own CAD fine-tune: Preview finds 1,390 of layer 1's normalisation channels switched off in Qwen and on in cad0, and measures the blend as likely broken β 5.3Γ more surprised by the text than Qwen, and the same at 25 % and 75 %. Keeping Qwen's norm weights avoids the collapse, but that blend still scores worse than either model. Nothing was written.</sub></p>**πΉ Join SafeTensors**Hugging Face splits big models into numbered pieces (`model-00001-of-00004.safetensors` β¦) plus an index file. This joins them into one `.safetensors` file holding every tensor, byte for byte. Nothing is converted, any data type works, and memory use stays small whatever the model's size. Pick a piece, the `.index.json` or the model's folder. **Check** lists the pieces, tensors and output size before anything is written, and the pieces are never touched.- **Output** β by default a folder of its own (`<model folder>-joined\model.safetensors`) with the config and tokenizer files copied beside it, ready to load or convert. Keep it out of the pieces' folder: llama.cpp's converter reads the pieces listed in the index while that file is there, and every `model*.safetensors` in the folder when it isn't.125 unmodified lines<p align="center"><img src="screenshots/graph-magnifier.gif" width="716" alt="A 47-node graph zoomed out until its text is unreadable, with the magnifier lens gliding across it and showing each node at full size" /></p><p align="center"><sub>A parametric enclosure script as 47 nodes, zoomed out to 25 %: the middle button held, the lens glides across it at full size.</sub></p>What lifts it past an ordinary node editor is that a **model β or ANI β can read and build the graph alongside you.** The old trap with model-driven node tools was that the model was never told which nodes or ports existed, so it guessed and the whole thing fell apart β Leviathan hands the model that context, so it actually knows the graph it is working in and can lay one out or extend it on request. Ask in the graph's own chat box, or press **β ANI** to put the question to your knowledge banks instead. In the public build a model may *propose and build* a graph, but **only you run it**: the host keeps the trigger, never the guest. The model's graph-building turns draw on their own **Token budget**, set per surface in [Settings] like every other place a model writes.**Models that speak CAD.** A model trained to write whole parts in *Compact IR* β such as cad0 β is recognised: **βΆ Build** asks it once, in its own format, and Leviathan turns its answer into nodes line by line, reading each line out in plain words under the canvas as it lands. Nothing the model writes is run as code β its answer is data, translated into Leviathan's own CAD script and checked to make exactly the same part.
leviathan-readme.md-2