MINI-KUZAI / PROJECT

MINI-KUZAI IS A LOCAL LANGUAGE-MODEL LABORATORY BUILT FROM SCRATCH TO UNDERSTAND HOW A TRANSFORMER LEARNS, INSPECT ITS INTERNAL BEHAVIOR, AND PROGRESS TOWARD A SMALL CONTROLLED CONVERSATIONAL MODEL.

PROJECT TYPE
LANGUAGE MODEL LABORATORY
CURRENT PHASE
PHASE 03 / V83 CLOSED / V84 NOT STARTED
CONTROLLED CORPUS
179 RECORDS / 65 SEMANTIC GROUPS
TRAINING
V62 LINEAGE / V81 CONTINUATION CLOSED / V83 READ-ONLY CONTROL CLOSED

1. PROJECT GOAL ↑

Mini-Kuzai starts from a deliberately small language model built from scratch instead of adapting an existing pretrained model.

The objective is practical and educational: implement the mechanisms directly, run them locally, inspect their outputs, understand their effects, and progressively build toward a more capable conversational model.

BUILD A LANGUAGE MODEL FROM SCRATCH, TRAIN IT LOCALLY AND INSPECT WHAT HAPPENS INSIDE A TRANSFORMER.

2. PHASE 01 / TRANSFORMER LAB ↑

Phase 01 established the first complete Mini-Kuzai language-model laboratory. The frozen model is intentionally tiny so matrices, gradients, attention heads, residual updates and token probabilities can be inspected directly.

The repository preserves the complete learning sequence from tokenization and embeddings through attention, training, ablations and interpretability.

ARCHITECTURE

2 Transformer blocks / 2 attention heads / embedding dimension 8 / MLP hidden dimension 32.

MODEL SIZE

26-token vocabulary and 2,368 trainable parameters in the frozen Phase 01 model.

TRAINING

Batch size 4 / AdamW / deterministic experiments.

INTERPRETABILITY

Attention, ablations, residual stream, logits, LayerNorm and vocabulary bias were inspected directly.

3. PHASE 03 / CONVERSATIONAL MODEL ↑

Phase 03 moves beyond the pedagogical baseline toward a new conversational model trained from scratch. Bounded V60, V61 and V62 training runs were executed, then V62 was frozen at its mandatory cycle-2 review.

V63-V80 were read-only diagnostics over that checkpoint. V81 then resumed the same frozen V62 run lineage under an explicit bounded authorization and closed the remaining initial-window budget without changing tokenizer, architecture, corpus or objective.

IDENTITY

A controlled developing identity linked to THE KUZ NETWORK research environment.

COGNITION

Curiosity, critical thinking, uncertainty, correction after feedback and reasoned disagreement are explicit behavioral targets.

CREATIVITY

Imagination, contextual expression, humor, initiative and creative dialogue are treated as first-class goals.

CONTINUITY

Multi-turn consistency and context preservation are part of the evaluation design.

4. CONTROLLED CORPUS ↑

The controlled Phase 03 corpus contains 179 records distributed across 65 semantic groups. TRAIN, VALIDATION and BLIND TEST material is kept separate to evaluate generalization instead of simple reproduction.

TRAIN

107 audited records across 29 TRAIN semantic groups.

VALIDATION

36 frozen records across 18 reserved validation groups.

BLIND TEST

36 frozen records across 18 reserved blind groups.

TOTAL

179 controlled records across 65 semantic situations with split protection.

  • Cross-split exact IDs: 0.
  • Cross-split semantic-group overlap: 0.
  • Exact normalized user-prompt collisions across splits: 0.
  • BLIND TEST remains closed.

5. CURRENT STATUS / 2026-11-14 ↑

The latest verified scientific milestone is V83, a read-only final-checkpoint coordinate-refit control executed after V82 and the closed V81 continuation.

V83 first reproduced the V82 post-V81 result exactly in the inherited coordinate, then recomputed the TRAIN-derived diagnostic coordinate on the same final checkpoint. Prediction and sign changes remain 34 / 34 after refit versus 38 / 38 before refit. This is a controlled teacher-forced numerical observation and does not establish semantic competence, reasoning ability or correct conversational context use.

  • Phase 03 model: decoder-only Transformer / 1,184,512 trainable parameters.
  • Tokenizer: frozen byte-level BPE / 1,024 vocabulary entries.
  • Training lineage remains closed at V81: 136 optimizer steps / 1,181,302 exposure tokens.
  • V83 validation lexical positions: 9,170.
  • V83 perturbed prefixes: 9,062 / unchanged prefixes: 108.
  • V83 inherited-coordinate prediction/sign changes: 38 / 38.
  • V83 refitted-coordinate prediction/sign changes: 34 / 34.
  • V83 refitted original/reverse correct: 2,576 / 2,578.
  • V83 refitted PC1 variance share: 61.26%.
  • V83 inherited/refitted PC1 absolute cosine: 96.45%.
  • V83 inherited/refitted residual-profile absolute cosine: 86.58%.
  • V83 refitted absolute alpha correlation: 0.9998.
  • Further training authorization: false.
  • BLIND access: false.
  • Semantic validation complete: false.

6. CONTROLLED TRAINING / V59-V81 CLOSED ↑

V59 finalized the reviewed training mixture. V60 established numerical learning but failed fixed EOS completion probes. V61 strengthened terminal EOS behavior but produced excessive intermediate EOS predictions.

V62 introduced pairwise boundary-margin constraints. TRAIN RUN 001 stopped at the mandatory cycle-2 milestone. V81 later resumed that exact frozen run with the unchanged trainer and objective and closed the remaining authorized initial-window exposure budget.

TRAINING MIX

272 conversations / 345 segments / 295,416 unique tokens.

V60

509 optimizer steps / validation loss 3.429395 / failed fixed EOS completion probes.

V61

Stopped at cycle 2 / terminal EOS improved but intermediate false positives remained high.

V62 -> V81

Resumed from 69 steps / 597,982 tokens and closed at 136 steps / 1,181,302 tokens / best validation loss 4.030447.

7. READ-ONLY RESEARCH / V63-V83 ↑

V63-V74 investigated generation failures, EOS calibration, token-frequency effects, output-head concentration, precision, hidden-state anisotropy and frequency-prior confounds.

V75-V80 progressively tested whether the dominant residual signal transfers across splits, survives frequency residualization, responds to context order, can be separated from rebatching noise, and is merely a near-zero boundary effect. V82 replayed the frozen context-order diagnostic after V81, then V83 refitted the TRAIN-derived coordinate on the same final checkpoint without additional training.

V75 / GEOMETRY TRANSFER

TRAIN-derived PC1 aligns with VALIDATION PC1 at 99.95% absolute cosine.

V76 / FREQUENCY RESIDUAL

TRAIN lexical frequency explains 7.75% of centered PC1 output-profile energy; the residual retains 92.25%.

V77-V79 / CONTEXT ORDER

Reverse-history changes only 5 / 9,170 top-1 predictions; V79 reproduces the same five changes through the same batch-32 path.

V80 / BOUNDARY PROXIMITY

None of the five changed positions lies inside the frozen 1e-3 near-zero boundary band.

V82-V83 / POST-V81 CONTEXT ORDER

V82 measured 38 / 38 prediction/sign changes in the inherited coordinate. V83 refitted the TRAIN-derived coordinate on the same final checkpoint and the effect persisted at 34 / 34.

  • V80 mean boundary distance on changed positions: 0.030173315.
  • V80 maximum boundary distance on changed positions: 0.059604287.
  • V82 baseline prediction/sign changes: 5 / 5; post-V81 inherited-coordinate changes: 38 / 38.
  • V83 refitted-coordinate prediction/sign changes: 34 / 34.
  • V83 result class: the elevated post-V81 effect persists after TRAIN-only coordinate refit, with modest coordinate dependence.
  • These are teacher-forced diagnostics and do not establish semantic competence or reasoning ability.

8. DEV-FLOW / VERIFIED PUBLICATION SYSTEM ↑

Mini-Kuzai separates scientific validation from public communication. A scientific result must first pass its committed protocol, tests and immutable GOGIT evidence before FINAL-DEV-FLOW can publish the closing record.

V83 completed the hardened verified production path across GitHub, YouTube, LinkedIn native video, GitHub media fallback, the committed cross-channel media receipt and the automatic read-only GOGIT closure. The bounded reconciler remains the production path for V83+ FINAL publication.

GITHUB

V83 FINAL published in Discussion #15 with a committed PUBLISHED receipt.

LINKEDIN

V83 FINAL native video published through KUZ-DIN. V83+ FINAL uses native video only; START remains text.

YOUTUBE

V83 public FINAL Short: iNYNmxaNKbQ, produced through the independent Mini-Kuzai_YOUTUBE worker.

SAFETY

Publication authorization never authorizes training, BLIND access or checkpoint mutation.

  • V83 GitHub FINAL: Discussion #15 / comment #19617158.
  • V83 YouTube public Short: iNYNmxaNKbQ.
  • V83 LinkedIn native media post: urn:li:ugcPost:7527431180539867136.
  • V83 GitHub media fallback: Discussion #15 / comment #19617184.
  • V83 automatic closure GOGIT: PASS.

9. CROSS-CHANNEL MEDIA FLOW / V83 VERIFIED ↑

FLOW-PRESENTATION-001 first validated the communication primitives. V81, V82 and V83 then exercised genuine production paths from committed scientific FINAL receipts through automatic brief generation, audited media, YouTube, LinkedIn native video and GitHub media fallback. V83 additionally completed the bounded automatic closure GOGIT contract.

The canonical media contract remains a 60-second vertical Short with Piper narration from 5 seconds after the start to 5 seconds before the end. The V83+ worker validates narration source duration before commit and closes the verified end-to-end flow with an automatic GOGIT report.

VIDEO

60 seconds / 1080 x 1920 / narration window 5-55 seconds.

YOUTUBE

V83 FINAL published publicly as iNYNmxaNKbQ.

LINKEDIN

The V83 MP4 was published natively as urn:li:ugcPost:7527431180539867136.

GITHUB

Discussion #15 comment #19617184 contains the verified public media fallback.

  • Cross-channel publication receipt is committed in Mini-Kuzai_YOUTUBE.
  • Media publication remains communication infrastructure and is not scientific evidence.

10. NEXT STEP / V84 ↑

V83 is scientifically and operationally closed. No additional training is authorized and BLIND remains closed.

V84 has not started. The next operator boundary is START-DEV-FLOW V84, which must be explicitly launched before V84 implementation, preflight or scientific evaluation.

  • No V84 training is authorized.
  • No V84 BLIND access is authorized.
  • V84 START has not been published and no V84 scientific result exists yet.
  • Historical V81, V82 and V83 evidence and receipts remain immutable.

11. DEVELOPMENT METHOD ↑

Mini-Kuzai follows an experimental workflow: define a bounded mechanism or hypothesis, execute it, inspect the data and outputs, verify the behavior, document the result, then integrate it into the next stage.

Historical reports, receipts, datasets and frozen protocols are preserved so the progression remains reproducible and auditable.

  • Build and understand mechanisms before scaling them.
  • Keep TRAIN, VALIDATION and BLIND evaluation separated.
  • Use explicit authorization gates before irreversible steps.
  • Treat communication publication as separate from scientific authority.
  • Keep large raw datasets and local runtime artifacts outside the normal public repository.

12. PUBLIC REPOSITORIES ↑

The Mini-Kuzai repository remains the scientific and technical reference. The companion Mini-Kuzai_YOUTUBE repository contains the Short renderer and YouTube publication pipeline. KUZ-DIN provides the guarded LinkedIn publication layer.

KUZAI.ORG presents the verified project state to a public audience without exposing local model endpoints, credentials or private infrastructure.

  • github.com/Kusanagi8200/Mini-Kuzai
  • github.com/Kusanagi8200/Mini-Kuzai_YOUTUBE
  • github.com/Kusanagi8200/KUZ-DIN
  • github.com/Kusanagi8200/KUZAI.ORG-VS2
OPEN MINI-KUZAI ON GITHUB BACK HOME