Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions training/reports/2026-11-23_aleph_pretrain_execution_plan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# DataGoblin Aleph pretrain: execution plan

**Decision snapshot: 23 November 2026. Friday gate: 27 November (Asia/Manila).** This is the operational companion to the [strict-1B recipe](../../docs/one_billion_pretraining_recipe.md), [Aleph protocol](../aleph_protocol.md), and [data landscape](2026-11-19_data_landscape.md). It does not freeze a tokenizer, declare any corpus training-ready, or record an allocation or launched job.

## What Friday should prove

Aim for a restartable **10M processed non-padding token engineering pilot**, on a confirmed, authorized backend. **10B processed tokens is the initial full pretrain target**. The older 20B/30B analysis remains a later scaling option, conditional on measured data supply, quality, throughput, and budget. The engineering pilot is not a proxy for model quality at 10B.

| When | Deliverable | Stop if |
| --- | --- | --- |
| Mon–Wed: corpus and training lanes in parallel | Pinned tokenizer and model config; first admitted shards; a fixture-tested loader, packer and checkpoint/resume path | Ambiguous rights, missing tokenizer identity, mixed families across splits, or a failed restart |
| Thu readiness review, 15:00 Manila | One versioned manifest with achieved counts; one backend receipt with successful forward/backward/optimizer update, memory/throughput bounds, and allocation or explicit hold | Packer cannot account for 10M real non-padding positions, or the selected backend/allocation and resource cap have not been verified |
| Fri engineering pilot | One bounded training run, checkpoint and interrupted/resumed comparison; report validation loss by lane, counted positions, throughput and resource use | Missing authorization or any gate above. Use a smaller admitted engineering smoke only if authorized; record its actual size and keep the 10M gate open |
| After Friday | At a separately approved scale, a 500M-token calibration checkpoint, then 10B if the data/run gates pass | Reproducibility, supply, held-out regression, resource or cost checks fail |

## Architecture and comparison

- **Starting architecture:** instantiate the dense recurrent text model in the strict-1B recipe. Planning count **999,352,320** unique parameters, width 2,048, tied vocabulary of 49,152, ten shared reasoning blocks and two shared answer blocks, with one shell block at each end. Use two reasoning visits and one answer visit (24 executed blocks) as the initial measurement point. Count *actual* unique trainable weights including learned bridges, router and any attached heads; profile visits, not just nominal parameter count.
- **Starting training arm:** direct feedback at both boundaries and a constant mixed curriculum. Keep native checked or exact controls where available. Compare recurrence with a matched nonrecurrent control, logging both unique parameters and executed work. Test alternative reader/slot routing and RLT or damping in bounded, matched ablations before promotion. The earlier ~1.007B four-operator Aleph and HRM-Text dyad are separate research alternatives, not dependencies.
- **Backend:** preflight the intended TPU backend only if an allocation and compatible software are confirmed. A local fixture run proves the data/trainer contract, not TPU feasibility. Pin code, accelerator topology/precision, optimizer, sequence length, batch, accumulation, schedule and seed. Check restart from model, optimizer, scheduler, RNG and sampler/shard cursor; exact sample order must agree, with numerical tolerance specified up front. Report non-padding tokens/sec inclusive of evaluation and checkpoint overhead, peak memory, and measured resource usage. Extrapolate 10B only from measured sustained throughput with stated assumptions.

## Data budget, evidence, and admission

| Lane | Evidence in hand | Treatment |
| --- | --- | --- |
| Licensed general text, math and code | [Public catalog](../data/public_pretraining_catalog.json) lists candidates with different source ancestries and counting methods. A [pinned LibreTexts shard](https://huggingface.co/datasets/common-pile/libretexts_filtered/blob/204d01e40af72b3b6d3f926e1f6148ee9ed3970a/libretexts-0000.json.gz) is a first intake candidate; eligible yield has not been measured. | Build the bulk of the mixture from rights-reviewed sources. Check the original document's attribution and license, preserve book/revision families, and hold mixed or ambiguous rights. Do not project an entire catalog into ready capacity. |
| Lean, RLT, exact/procedural games and code checks | [Nov. 21 rollout export](../rlt_gym/2026-11-21_campaign.md): 16,052 views, 1,230 roots, 7,177,154 UTF-8 loss payload bytes; Aleph tokenizer unset. The [Campsite repair pack](../../docs/rlt_hermes_repair.md#training-pack) contains 511 checked repairs from 256 train puzzles. | Use kernel, executor, simulator or independent replay receipts for the specific claim supervised. Cases with unknown outcomes stay distinct from verified negatives. Do not equate bytes, views, or proposals with ready tokens. |
| MeTTa | [Imported corpus, PR #18](https://github.com/MoralityLabAI/DataGoblin/pull/18): 636,487 measured source tokens under `o200k_base` across 1,375 pinned files; 187 native query-answer candidates still marked `training_ready=false`. The much larger inventory is discovery metadata and includes bulk/derived data. | Retokenize admitted files with Aleph's tokenizer and preserve file-level rights. Promote candidate tasks only after an independent semantic check and split assignment. No 500M admitted token claim. |
| Storyworld and research selection | [STORY #54](https://github.com/MoralityLabAI/DataGoblin/pull/54) stages native Builder, Mini and HG-02 adapters with world-family custody. [AGN-01 #50](https://github.com/MoralityLabAI/DataGoblin/pull/50) is a deterministic fixture; [AGN-02 #52](https://github.com/MoralityLabAI/DataGoblin/pull/52) evaluates a tiny proxy and does not establish downstream uplift. | Keep draft outputs outside the admitted snapshot until independently replayed and approved. A 10–100M unique synthetic-token goal is a yield milestone, not an inventory or a Friday dependency. |

Use the five lanes in the [10B proposal](../aleph_protocol.md#corpus) as starting estimates, not fixed quotas that must be met by duplication. Reallocate shortfalls to rights-cleared, measured sources; never to a held-out family. Preserve source commit/shard checksum, original document or canonical root, parent/generator lineage, license and attribution, split custody, objective and loss mask, verifier identity where applicable, and reject reason. Globally deduplicate exact content and near-duplicate families across sources; split before packing and preserve sealed roots outside training. Respect the proposed limit of four presentations total across all views of a static root. Freeze packing behavior at boundaries and ensure sum of source counts and repeat ledger reconcile with packed counts.

**Count separately:** accepted unique Aleph tokens; processed non-padding positions including repeats; loss-bearing positions after masking; padding; canonical roots and presentations by lane. Use a declared language-modeling objective for rights-cleared reference text; use response supervision only where evidence supports the target. Tokenizer revision, vocab, packing rules, and split/manifests need immutable identifiers. No corpus earns `training_ready` from a successful loader alone.

## Agonist data flywheel and later mechanistic work

1. Human taste supplies a research question; DataGoblin proposes a bounded task specification. A resident, operator-approved quantized Inky/Inkling teacher can instantiate candidate worlds, tests, and edits; keep revision, prompt template, context cap, sampler and costs in the receipt. A larger teacher is optional and outside the Friday dependency path. No provider fallback or spend implied.
2. Borrow world construction and replay from STORY, and use EvalMath-style causal contrasts, known stopping rules, and held-out generator families. Independent score checks precede data admission. Compare learned selection vs fixed and random under matched teacher/verifier/student budgets; judge by verified gain on a separate student and held-out roots, including an anchor-only comparator. Track utility and failures rather than accepting raw teacher text as a target. DG-SGRT and other geometry/router ideas remain isolated ablations until independently validated.
3. Freeze and evaluate the base checkpoint before collecting a separate set of local inference traces. First prove the quantized trace path fits the available device at the chosen context; log checkpoint, hook fidelity, peak memory and matched BF16 where feasible. Use Goodfire/Inkling routing ideas and BPD-style causal tests as hypotheses for a later adapter pass: compare selected hooks with matched sham, random, and no-intervention controls on disjoint roots. Keep adapter training and any external compute separately authorized. Pretraining acceptance cannot depend on a steered adapter result.

**Friday receipt:** code/model-config SHA, tokenizer and corpus digests, achieved counts and rights summary, split/leakage report, hardware/allocation and measured throughput, deterministic data-resume evidence, checkpoint hash, held-out metric snapshot and a GO/HOLD decision for the next stage. No raw private data, weights, or sealed labels should be committed with this report.
Loading