Skip to content
Merged
Show file tree
Hide file tree
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
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -220,4 +220,5 @@ __marimo__/
# Experimental documents for context, not to be committed
documents/*
dnc-context/*
tmp/*
tmp/*
.tmp/*
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,23 @@ python -m initium.inference.run_inference path/to/checkpoint.pt --dataset-type g

The loader checks checkpoint/task compatibility and refuses unsupported task types or dimensions. Graph, text, audio, and video task runners are registered; multimodal execution is also represented in the code but its input dimensions depend on the selected modality combination. Verify the checkpoint's recorded dataset configuration before comparing results across task types.

Stage 5 language checkpoints use the interactive `lang_act` probe, which
supports both semantic slot workspaces and parallel dense workspace
checkpoints:

```bash
python -m initium.inference.lang_chat path/to/checkpoint.pt --seed-world
```

For a parallel dense checkpoint, the probe supplies token IDs without
semantic entity annotations and carries the learned latent workspace between
turns. This is a closed-task language probe, not an open-domain language-model
interface. The generic `run_inference` task registry remains for graph, text,
audio, video, and multimodal tasks. If the checkpoint reports a SentencePiece
hash mismatch, provide the training-time directory containing both
`manifest.json` and `spm.model` with `--tokenizer-dir`; inference verifies the
checkpoint hash before loading the tokenizer.

## Experiments and current evidence

The supplied experiment records describe a staged investigation of a KL penalty on DNC memory writes. They are summarized here as results rather than by the names of the individual working files, so this overview can remain useful if those files are renamed or reorganized. -> If anyone wishes to see the original files, you can create an issue and will be contacted afterwards.
Expand Down
2 changes: 1 addition & 1 deletion src/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""initium - modular Differentiable Neural Computer research framework."""

__version__ = "0.5.1"
__version__ = "0.6.0"
6 changes: 5 additions & 1 deletion src/initium/config/train_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@
"""

import math
import os

# ---- Loop / optimisation ----------------------------------------------------
BATCH_SIZE = 16 # bucketed, so padding waste stays low even >1
TOTAL_STEPS = 120000
LOG_EVERY = 100
EVAL_EVERY = 3000 # curriculum-advance eval cadence
EVAL_EVERY = 1500 # curriculum-advance eval cadence
LR = 3e-4
LR_MIN = 3e-5
LR_DECAY_STEPS = TOTAL_STEPS # cosine anneal length. Derived from TOTAL_STEPS here on
Expand Down Expand Up @@ -62,3 +63,6 @@
# ---- Checkpointing ----------------------------------------------------------
CHECKPOINT_DIR = "./checkpoints"
CHECKPOINT_EVERY = 2000 # periodic safety checkpoint, in addition to end-of-run

LR_SCALE = float(os.environ.get("LR_SCALE", "1"))
BACKBONE_WD = float(os.environ.get("BACKBONE_WD", "0"))
Loading
Loading