efe-T's picture
step 469 (0.031B tokens) final
1da9dda verified
|
Raw History Blame Contribute Delete
1.65 kB
metadata
tags:
  - recurrent
  - language-model
  - fineweb-edu
datasets:
  - HuggingFaceFW/fineweb-edu

RecurrentGraphLM-fineweb-edu

RecurrentGraphLM(50304, **A100_40GB) (51.7M parameters) pretrained from scratch on FineWeb-Edu (GPT-2 tokens, kjj0/finewebedu10B-gpt2). Training is in progress; this card is rewritten by the training script at every evaluation.

tokens seen 0.031 B (1.5% of schedule)
updates 469
sessions 1
data position shard 1/99 31%
updated 2026-11-26 02:09 UTC
train loss 5.3943
tokens/s 5,501
MFU (approx.) 3.1%
val loss 5.3820 (best 5.3820)
val loss, first window 5.6242

training curves

Stateful TBPTT: 64 contiguous streams x 1024-token windows per update, memory carried (detached) across windows. Validation streams 2.1M val tokens the same way from an empty memory; "first window" is the loss before any memory has accumulated. AdamW, lr 0.001 (fan-in scaled from 512), warmup 500 updates, linear cooldown over the last 20% of 2.0B tokens. Full metrics: metrics.jsonl. Logs: logs/.

import sys, torch
from huggingface_hub import hf_hub_download
sys.path.insert(0, hf_hub_download("efe-T/RecurrentGraphLM-fineweb-edu", "recurrent_graph.py").rsplit("/", 1)[0])
from recurrent_graph import RecurrentGraphLM, A100_40GB
ckpt = torch.load(hf_hub_download("efe-T/RecurrentGraphLM-fineweb-edu", "checkpoints/latest.pt"), map_location="cpu", weights_only=False)
model = RecurrentGraphLM(50304, **A100_40GB)
model.load_state_dict(ckpt["model"])

Earlier checkpoints are in the commit history of checkpoints/latest.pt.