dancinlife commited on
Commit
b740a1c
·
verified ·
1 Parent(s): 214de92

feat(hexad-corpus): v1-byte-consciousness-d128-cycle1-2026-05-17 — README.md (PUBLIC dataset push)

Browse files
Files changed (1) hide show
  1. README.md +124 -0
README.md ADDED
@@ -0,0 +1,124 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - en
5
+ - ko
6
+ pretty_name: hexad-corpus
7
+ size_categories:
8
+ - n<1K
9
+ tags:
10
+ - anima
11
+ - hexad
12
+ - byte-level
13
+ - scaffold
14
+ - architecture-verification
15
+ task_categories:
16
+ - text-generation
17
+ ---
18
+
19
+ # hexad-corpus — `v1-byte-consciousness-d128-cycle1-2026-05-17`
20
+
21
+ > **Honest framing**: This is a **byte-level scaffold corpus** (152 KB · 240
22
+ > JSONL records · vocab = 256 raw bytes). It is used as the **anchor input**
23
+ > for HEXAD architecture-verification fires (Phase E2 hexa-CPU, the `.py`
24
+ > PyTorch d=768x12L lineage, and the first pure-hexa training-to-convergence).
25
+ > It is **NOT a general LM-quality training corpus** and **no language-quality
26
+ > claim** is made.
27
+
28
+ ## Overview
29
+
30
+ - **Format**: JSONL, one record per line, 240 records total.
31
+ - **Size**: 151,943 bytes (raw file). 120,673 bytes of content (`text` +
32
+ `desc` concatenation) is what the byte-level T=128 windowing actually
33
+ consumes inside the trainers.
34
+ - **Vocabulary**: 256 (raw bytes; no tokenizer).
35
+ - **Schema** (one JSON per line):
36
+ - `id` — stable identifier (e.g. `ccv1_c_0`).
37
+ - `text` — primary content chunk (English + Korean bilingual).
38
+ - `desc` — descriptive label (module / idx / nonce / eigenvalue / keyword
39
+ keys).
40
+ - `hexad_module` — one of `hexad_c`, `hexad_d`, `hexad_e`, `hexad_m`,
41
+ `hexad_s`, `hexad_w` (40 records each, 240 total).
42
+ - `idx` — within-module chunk index.
43
+ - `source` — generator identity (`corpus_generator.hexa v1`).
44
+ - `phi_family` — corpus family label (`Hexad`).
45
+ - **Module distribution** (uniform): 6 modules x 40 chunks = 240 records.
46
+ - **sha256** (raw file):
47
+ `804664361e639be7ecceae6ff3c470961e015090c264da9eac1df8716144681f`.
48
+
49
+ ## Usage
50
+
51
+ The byte-level reader used by the HEXAD fires concatenates `text` + `desc`
52
+ into a single UTF-8 byte stream, then trains on `T=128` windows with
53
+ seed-fixed shuffling. See `manifest.json` (this revision) for the exact
54
+ byte-content size used by the fires (120,673 B).
55
+
56
+ ```python
57
+ import json
58
+ from pathlib import Path
59
+
60
+ records = []
61
+ for line in Path("corpus_consciousness_v1.jsonl").read_text().splitlines():
62
+ records.append(json.loads(line))
63
+
64
+ # Equivalent to the fire-time byte stream:
65
+ byte_stream = b""
66
+ for r in records:
67
+ byte_stream += (r["text"] + r["desc"]).encode("utf-8")
68
+ # -> 120,673 bytes
69
+ ```
70
+
71
+ ## Fire history (the anchor chain this dataset participates in)
72
+
73
+ | # | fire | date | substrate | scale | result |
74
+ |---|------|------|-----------|-------|--------|
75
+ | 1 | Phase E2 d_train5 hexa-cpu CPU-equiv | 2026-05-16 | hexa-cpu (boxed) | d=32x3L 80-step seed=42 | gn2 7.97116 -> 3.73374e-07 GRAD-EXACT bit-equal to boxed baseline |
76
+ | 2 | Phase E2 d_train5 GPU-routed backward | 2026-05-16 | hexa-cuda (A100 SXM4) | d=384x6L analytic vs fd | max\|delta\|=0.0024 GRAD-EXACT on real A100 |
77
+ | 3 | .py PyTorch d=768x12L cycle 1 (ckpt-LOST evidence-only) | 2026-05-16 | py (A100 SXM4) | d=768x12L 283.72M | trained past init; instance destroyed before pull (commit `931dd68b0`) |
78
+ | 4 | .py PyTorch d=768x12L cycle 2 (ckpt-RECOVERED, HF first canonical artifact) | 2026-05-17 | py (A100 SXM4) | d=768x12L 283.72M | init CE 5.590832 -> FINAL CE 0.000708; ckpt sha256 `e87e200a04...` 1.13 GB pulled (commit `0b4f34d0e`); HF [`dancinlab/hexad` revision `v1-py-hexad-d768x12L-cycle2-2026-05-17`](https://huggingface.co/dancinlab/hexad/tree/v1-py-hexad-d768x12L-cycle2-2026-05-17) |
79
+ | 5 | #2a pure-hexa training-to-convergence d=64x3L FINAL gn2 | 2026-05-17 | hexa-cpu (compiled-native) | d=64x3L | F-D-CONVERGE 4/4 PASS, 3.7e8x gn2 collapse (first pure-hexa convergence; commit `60e3e0b4f`) |
80
+
81
+ The `.py` cycle 2 ckpt at d=768x12L is anchored on this same byte corpus:
82
+ init CE 5.590832 (~ ln 256 = 5.545, random byte init) -> final CE 0.000708
83
+ over 2500 steps (memorization at 283.72M params on 121 kB corpus; no
84
+ generalization claim).
85
+
86
+ ## Honest caveats (g3)
87
+
88
+ 1. **Small + curated**: 152 KB / 240 records. Final CE on this corpus at
89
+ 283.72M params is dominated by memorization. No LM-quality / generation /
90
+ downstream-task claim is made.
91
+ 2. **Bilingual but synthetic**: English + Korean phrasing is procedurally
92
+ generated by `corpus_generator.hexa v1` (per-module keyword templates +
93
+ eig / nonce / commit markers). It is structured input, not natural
94
+ language data.
95
+ 3. **Intended use**: HEXAD architecture-verification + training-to-convergence
96
+ gate evidence. It is the anchor input that lets us compare boxed,
97
+ compiled-native, and PyTorch substrates on the *same* tokens.
98
+ 4. **No tokenizer**: byte-level (vocab = 256). Reproducible across substrates
99
+ without tokenizer drift.
100
+ 5. **No lattice numerology in the data itself**: per `AGENTS.tape` `f1` /
101
+ `f2`, no sigma(6)=12 / phi(6)=2 derivation is claimed by the corpus
102
+ content or by the fires anchored on it.
103
+ 6. **License**: Apache-2.0 (same as `dancinlab/hexad`).
104
+
105
+ ## License
106
+
107
+ Apache-2.0.
108
+
109
+ ## Citation
110
+
111
+ ```
112
+ @misc{dancinlab_hexad_corpus_v1_2026,
113
+ title = {hexad-corpus: byte-level scaffold corpus for HEXAD architecture verification},
114
+ author = {dancinlab (anima)},
115
+ year = {2026},
116
+ publisher = {Hugging Face},
117
+ url = {https://huggingface.co/datasets/dancinlab/hexad-corpus}
118
+ }
119
+ ```
120
+
121
+ ## Cross-link
122
+
123
+ - Model side (uses this corpus for training): [`dancinlab/hexad`](https://huggingface.co/dancinlab/hexad)
124
+ - Source repo (SSOT for this file): [github.com/dancinlab/anima](https://github.com/dancinlab/anima) at `training/corpus_consciousness_v1.jsonl`.