RecurrentGraphLM on FineWeb-Edu

This is an in-progress GPT-2-tokenized language model training run targeting 2,000,000,000 next-token predictions. The initial 1,725,801-parameter model uses width 32, eight graph layers, three steps, and keyed token writes. Read latest.json for the saved update, target count and checkpoint path. Each step file contains model and optimizer state, recurrent carry, the last token and the pinned dataset manifest.

Open FineWeb_A100.ipynb in Google Colab with an A100 runtime. Grant the notebook access to a Colab secret named HF_TOKEN with write permission scoped to this repository. It resumes at the saved cursor, using BF16, 32,768 targets per update, 4,096-token encoder chunks, 1,024-token loss tiles, and a public checkpoint every 128 optimizer steps and at each shard boundary. Starting from step 448 the trainer upgrades older checkpoints with a 64-parameter adaptive readout, retains existing AdamW moments, and protects weakly addressed memory coordinates from erasure. The revised model has 1,725,865 parameters. Throughput and completion time depend on the assigned runtime.

Live training metrics and model size

The notebook prints a training record after every optimizer step. Loss is mean next-token cross-entropy in natural logarithms. Step tokens/s measures training time with synchronized device work; wall tokens/s includes validation and checkpoint overhead since session start. Validation records appear on startup, every 32 steps (about 1.05M targets for full windows), and on completion. Each scores 16 fixed 1,024-target excerpts from the pinned official validation shard with fresh carry per excerpt. It is a sampled validation loss. The trainer appends records to metrics.jsonl in the runtime and publishes history under metrics/ with each checkpoint.

The notebook width setting defaults to 32 to resume the pilot. Selecting 512 starts or resumes a separate 42,588,265-parameter run in the sibling repository with suffix -w512. It starts from scratch on its first launch. The larger profile uses 512-token encoder chunks and 256-token loss tiles. Measure actual A100 tokens/s and compare validation at matched training token counts before committing the full budget.

The trainer uses a reduced-work carry prepass and full-vocabulary BF16 loss optimization. On an A100 it checks the compiled loss and gradients on the first eligible tile and times both implementations before choosing. Exclude compilation and initial validation when comparing sustained throughput. Pass --native-head to force native cross entropy.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train efe-T/recurrent-graph-fineweb-edu-2b