Views
No views yet
| File | Description |
|---|---|
best.pt | Final trained weights (best checkpoint at 50K steps) |
gold_primitivos_72.json | Gold standard: 72 core primitives, one bit each |
run_config.json | Full training configuration |
results.json | Final metrics |
training_log.csv | Training curve (loss, accuracy per step) |
| Metric | Value |
|---|---|
| Bit accuracy (test) | 90.8% |
| Unique signatures | 100% (72/72) |
| Coherence | 0.818 |
| PPL (general text) | 31.95 (identical to GPT-2 baseline) |
| Active bits | 4/72 |
| Dead bits | 68/72 |
| Regla de tres (cosine) | 0.997 (8 quadruples) |
| Trainable params | 73,728 (0.02% of total) |
| Training time | 4.3h on RTX 4060 Ti 16GB |
gpt2-medium, 355M params, frozen)1from transformers import GPT2Model, GPT2Tokenizer
2import torch
3
4# Load base GPT-2 Medium
5tokenizer = GPT2Tokenizer.from_pretrained("gpt2-medium")
6gpt2 = GPT2Model.from_pretrained("gpt2-medium")
7
8# Load triadic head from this repo
9head_state = torch.load("best.pt", map_location="cpu")
10# See repo code for the TriadicHead module definition.dualidademergente+reptimeline/model/triadic.py in the
GitHub repo.1python train.py --bits 72 --gold-file gold_primitivos_72.json \
2 --run-name gpt2_triadic_72_v5_frozen --freeze-basetriadic-gpt2-medium-v6: Same architecture, scaled to 2,166 concepts (extended corpus).triadic-gpt2-medium-v8: Deep head, 250K steps, base for V8 telescopic X-ray.triadic-gptneo-125m-v9: GPT-Neo 125M / OpenWebText (cross-architecture replication).1@software{ornelasbrand2026triadic,
2 author = {Ornelas Brand, J. Arturo},
3 title = {Triadic Emergent Duality: 14+ Candidate Dualities Across 6 Algebraic Layers},
4 year = {2026},
5 doi = {10.5281/zenodo.19374914},
6 url = {https://github.com/arturoornelasb/triadic-emergent-duality}
7}