Skylion007/openwebtext
Viewer • Updated • 8.01M • 36.5k • 549
A 72-bit triadic projection head trained on top of frozen GPT-Neo 125M.
This model adds a triadic head to GPT-Neo 125M that projects language model embeddings into 72-bit binary codes representing ontological primitives from the Emergent Duality framework.
Each bit corresponds to one of 72 semantic primitives organized in 6 algebraic layers (Boolean, Fuzzy, Ordinal, Modal, Trivalent, Probabilistic). The head learns to map continuous embeddings to discrete binary codes that preserve ontological structure.
| File | Description |
|---|---|
best.pt |
Final trained weights (best checkpoint at 50K steps) |
step_5000.pt |
Base checkpoint before phase transition (for X-ray reproducibility) |
run_config.json |
Full training configuration |
gold_extended_v7.json |
Gold standard: 72 primitives + extended concept targets |
step_5000.pt is the base checkpoint used for the telescopic X-ray analysis that
revealed the cascade phase transition. To reproduce:
step_5000.pt with save-every-5-stepsSee train_v9_xray.bat for exact commands.
| Metric | V8 (GPT-2 Medium) | V9 (GPT-Neo 125M) |
|---|---|---|
| R² (wave) | 0.943 | 0.734 |
| Regime | Overdamped (d/w=1.34) | Underdamped (d/w=0.70) |
| dAIC | +92.2 | +44.5 |
| Cascade duration | ~145 steps | ~45 steps |
| Bits involved | 65/72 (90%) | 31/72 (43%) |
| Preferred model | Wave | Wave |
import torch
from huggingface_hub import hf_hub_download
# Download checkpoint
ckpt_path = hf_hub_download("arturoornelasb/triadic-gptneo-125m-v9", "best.pt")
checkpoint = torch.load(ckpt_path, map_location="cpu")
# Or use with triadic_extractor (pip install reptimeline)
from triadic_extractor import TriadicExtractor
extractor = TriadicExtractor(n_bits=72)
snap = extractor.extract(ckpt_path, concepts, device='cuda')
@misc{ornelas2026triadic,
author = {Ornelas Brand, J. Arturo},
title = {Triadic Duality: Ontological Primitives as Emergent Algebraic Structure in Neural Representations},
year = {2026},
doi = {10.5281/zenodo.19375167},
publisher = {Zenodo},
}
Base model
EleutherAI/gpt-neo-125m