NOEON: official identity (Frankenstein-Labs) + premium model card; proprietary-weights structure
67aa1dc verified |
Download docs/ARCHITECTURE.md from Frankenstein-Labs/NOEON: direct link, hf CLI and curl.
- Browser
- Download file 4.77 kB
-
https://huggingface.co/Frankenstein-Labs/NOEON/resolve/main/docs/ARCHITECTURE.md
- Command line
-
hf download hf://Frankenstein-Labs/NOEON/docs/ARCHITECTURE.md
-
curl -L -o ARCHITECTURE.md https://huggingface.co/Frankenstein-Labs/NOEON/resolve/main/docs/ARCHITECTURE.md
4.77 kB
| # NOEON β Architecture | |
| ## Design in one picture | |
| ``` | |
| frozen, never modified trainable (NOEON) | |
| βββββββββββββββββββββββββββββββββ ββββββββββββββββββββββββββββββββ | |
| β vision (4.742 B) βββstatesββΆ BridgeAdapter("vision") β | |
| β computer_use (4.742 B) βββstatesββΆ BridgeAdapter("computer_use") | |
| β generation (8.726 B) βββctxβββββΆ BridgeAdapter("generation")β | |
| βββββββββββββββββββββββββββββββββ βββββββββββββββββ¬βββββββββββββββ | |
| β all 2560-d | |
| βΌ | |
| βββββββββββββββββββββββββββββββββββββ | |
| β FusionCore (shared transformer) β | |
| β + modality embeddings β | |
| β + shared positional embeddings β | |
| βββββββββββββββββ¬ββββββββββββββββββββ | |
| βΌ | |
| fused state + GenerationHead (2560-d) | |
| ``` | |
| Each capability slot is backed by a frozen upstream model; the mapping from slot | |
| to upstream repository is in `docs/PROVENANCE.md`. | |
| ## Why this is a real integration, not a router | |
| * **One shared space.** All three streams are projected into the same 2560-d | |
| width and processed by a **single** transformer stack. Attention runs over the | |
| concatenation of every modality, so a vision token can attend to a | |
| computer-use token can attend to a generation token. The modalities interact | |
| inside the same parameters. | |
| * **Learned connections.** Each `BridgeAdapter` is trained. Nothing routes or | |
| chooses between models. | |
| * **The sources are frozen.** No weights are averaged, no checkpoint is | |
| rewritten. The originals remain byte-identical and recoverable at any time. | |
| ## The 2560-d shared space is measured, not assumed | |
| * Mage-VL and Mage-VL-Cowork are the **same architecture** (Qwen3-4B trunk, | |
| `hidden_size` 2560). Verified: 696 tensors each, identical shapes once the | |
| container prefix is normalised (`model.language_model.` β `model.`), 4.7418 B | |
| params each. | |
| * Mage-Flow's diffusion transformer has `context_in_dim = 2560` and its text | |
| encoder is Qwen3-VL with text `hidden_size` 2560. | |
| So a genuine common width exists. That is *necessary* for a bridge and is | |
| explicitly **not** treated as sufficient: the bridges are trained rather than | |
| assumed to work, and the compatibility check refuses to hide shape mismatches. | |
| ## Knowledge preservation (how the originals are protected) | |
| 1. **Frozen weights.** Sources are loaded read-only; only NOEON parameters are | |
| trainable (`freeze_sources`). | |
| 2. **Identity-initialised bridges.** `residual` and `up` start at zero, so at | |
| step 0 the bridge is an exact passthrough (`x + 0`). Training can only add | |
| structure; it cannot corrupt frozen behaviour on day one. Verified by | |
| `test_bridge_identity_init_is_passthrough` and | |
| `test_bridge_retention_is_near_one_at_init`. | |
| 3. **Low-rank adapters.** The trainable surface is a small bottleneck plus | |
| optional LoRA deltas β the billion-parameter sources stay untouched. | |
| 4. **Distillation term.** The trainer can pull the fused state toward the frozen | |
| teachers' own pooled states (`distill_weight`), plus optional replay | |
| (`replay_ratio`) to resist catastrophic forgetting. | |
| ## Parameter budget | |
| * Frozen sources: **18.21 B** parameters β never modified. | |
| * Trainable NOEON (default config): **β 698 M** parameters β bridges, fusion | |
| core, generation head. | |
| ## Components | |
| | Path | Role | | |
| |---|---| | |
| | `noeon/core/registry.py` | verified source facts | | |
| | `noeon/core/hub.py` | dependency-free Hub access (headers via range requests) | | |
| | `noeon/core/compat.py` | tensor shape-compatibility analysis | | |
| | `noeon/core/bridge.py` | trainable bridge adapters + LoRA | | |
| | `noeon/architecture/fusion.py` | shared transformer fusion core | | |
| | `noeon/architecture/model.py` | assembled `Noeon` | | |
| | `noeon/training/trainer.py` | Phase-3 trainer (frozen sources) | | |
| | `noeon/training/checkpoint.py` | save / load / resume | | |
| | `noeon/evaluation/harness.py` | real alignment / generation / retention metrics | | |