interplane.Get Omega
Read in your language

aien-train

AIEN training programme: language-model history, GB10 constraints and the route to training on the project engine. Plans and runnable checks are distinguished.

Brought by drakestapleton

[OM-LEARN P1] Train and evaluate a small .om specialist using the native training path

Open · #3 · open 2026-10-23 19:15 UTC

Imported from GitHub aien-dev/aien-train#3, by drakestapleton

drakestapleton wrote on 2026-10-23 19:15 UTC

Evidence and objective

Parent: Omega #652. On 2026-10-23, aien-train main exposes README/docs/evidence/streams, not a demonstrated complete native GPU trainer. Omega #606 owns the training-capability audit and numerical schedule work. This issue owns the dataset/model experiment and integration contract, not a duplicate tensor engine.

Test whether a small local model adapted on checked .om programs beats its unchanged checkpoint on unseen .om tasks while preserving declared general-code/instruction-following floors.

Prerequisites and ownership

  • Consume benchmark #653 and curriculum #654.
  • Reconcile the actual model/trainer owner in Sovereign Core and existing branches with Omega #606 before selecting paths.
  • Require one independently checked forward/backward/optimizer update, native adapter support if used, finite-difference or other independent gradient controls, checkpoint/resume and model-output reload tests. Track concrete missing operators with their owners; do not invent a PyTorch/Unsloth/CUDA fallback.
  • Use a small supported checkpoint or tractable block first. Choose size/rank/sequence length only after the actual memory ledger is measured. The current 27B model is not the default training target.

Implementation and experiment

  1. Freeze base model/license/tokenizer/template, .om language/compiler profile, dataset digest, split, precision, loss mask, optimizer and training budget before running.
  2. Implement/reuse the .om dataset reader and packed-sequence boundary handling. Correctly mask prompts, padding and rejected examples; prevent examples from crossing attention/loss boundaries incorrectly.
  3. Compare A: unchanged model with language documentation; B: unchanged model with retrieved examples; C: supervised adapter/specialist with the same allowed inference context. Keep total cost and exposure explicit.
  4. If parameter-efficient adaptation is supported, verify trainable/frozen parameter sets and adapter serialization. Frozen base weights do not eliminate the base forward computation or all activation-gradient costs.
  5. Use a short quality/cost pilot and measured stop conditions before scaling. Include generation cost of the corpus, actual training, checkpoint IO, evaluation and inference.
  6. Record per-family pass@1, budgeted success, syntax failures, incorrect semantics, instruction-following/general-code regression, latency, peak memory and time to a frozen quality target.
  7. Add failure classification to the existing trace producer in issue #1 without recording private samples in the standard trace schema.
  8. Deliver exact recipes, local artifacts/manifest and a small teaching example through issue #2. Retain the incumbent when quality or cost does not justify replacement.

Acceptance and controls

  • Deliberately wrong loss masks, truncated records, stale compiler profiles and train/test overlap are rejected.
  • Adapter reload reproduces predictions within the frozen numerical contract; checkpoint/resume preserves optimizer and RNG state.
  • Shuffled-answer or deliberately corrupted supervision control does not earn an improvement verdict.
  • Report uncertainty across predeclared seeds/task resamples; a single feasible run is labeled feasibility only.
  • Optional RL is not required for this SFT result; a regressing later method cannot erase this baseline.
  • No production model is replaced automatically. Selection goes through the existing independent evaluation/review path.
  • Native implementation and test coverage are complete for the chosen bounded scope; missing hardware results remain NOT_RUN.

Research

Selective Left-Shift motivates syntax acquisition before RL but reports mixed results after RL and incomplete cost/hardware details. No Resource, No Benchmarks, No Problem? warns that continued pretraining can damage instruction following. Do not assume instruction-tuned models tolerate arbitrary continued pretraining.

Delivery contract

This is a finite workstream under Omega #599, not a new whole-system plan. Read aien-architecture-mv PLAN_AUTHORITY.md, CURRENT_EXECUTION_PLAN.md, the architecture release #190 ledger, applicable AGENTS.md and directory .crumb files, current issue comments and live worktree claims before editing. Record one owner and exact paths; reuse existing compiler, runtime, trainer, store, judge and publisher owners.

The final first-party implementation is seeded .om throughout, including experiment runners, data generation, build/release automation and project-owned tests. Qualify each replacement, cut consumers over, then delete superseded active-tree code and obsolete dependencies. Consult old code in Git history; preserve immutable historical evidence. No new .osc path, foreign runtime/compiler fallback, Python/Rust/C product wrapper or parallel authority service. Missing .om features are scoped dependencies for their existing owners. Independent third-party oracles may run outside the delivered build/runtime closure with disclosed identities.

Pin source, seed/compiler, model/tokenizer/template, dataset/split, policy, arithmetic profile, target and executable identities. Preserve raw failures and actual exit codes. Distinguish IMPLEMENTED from QUALIFIED and PASS/FAIL/INCONCLUSIVE/NOT_RUN; host/emulator evidence never establishes physical GPU qualification. Do not close an implementation issue from a plan or artifact hash alone. Use existing local hardware scheduling and publication/review workflow; do not interrupt active chip runs. A research result may legitimately be negative, but a stub or an unexecuted required gate is not completion. Keep private data local and preserve existing owner-controlled sharing rules.

drakestapleton wrote on 2026-10-24 16:02 UTC

New multi-teacher research slice aien-train #18 is subordinate to this issue's native small .om specialist and the SI Fusion component map. It adds sample-verified 35B/27B teacher fusion plus optional authorized Allen trace decisions into 2B training; it must reuse this issue's native data/optimizer and aien-train #6, not start another training engine or call unverified teacher agreement ground truth.

did:key:z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd wrote on 2026-11-18 17:17 UTC

Recovered GitHub comment. Original comment 6472082162

Facility extension under existing #3/#6 ownership: draft #36 (NL1 #33) extends ecosystem6 c7642d96 explicit derivatives/staged-SGD to bounded4->3->4 softsign/binary64 in native/neuralese/affine.om, not a second generic optimizer. Existing native/ecosystem6 paths unchanged.31 gradient/update comparisons against independent Wolfram plus central differences PASS; gradient-sign/index/update-sign mutants rejected. Learned negative outcomes preserved14/16 full-fit and5/8,5/8,6/8 heldout. This is exercised synthetic extension, not qualified general trainer; exact compiler d6290c76 at omega1fe5976d. No missing primitive or C/Python runtime fallback.

Sign in to comment