Stage 1 checkpoint step 15521: README.md
Browse files123---license: apache-2.0---12345678910111213141516171819202122232425262728293031323334353637---tags:- pretraining- ultramemv2- engram- normuon- recurrent-depth---# Cortex-OSS-Flash-1.0 (Stage 1 Pretraining Checkpoint)Resumable 4x A100-80GB Stage 1 pretraining checkpoint (weights, sharded NorMuon/AdamW optimizers, 4-way sharded Engram + UltraMemV2 sparse tables & Adam states, routing bias/EMA, and exact per-source streaming dataset cursors).## Checkpoint Summary- **Step**: 15521- **Tokens seen**: 4.0687B / 110.0B (Stage 1)- **Tokens seen by dataset**:- `fineweb_edu`: 1,774,819,328 tokens (1.7748B)- `ultradata_stack_v3_l2`: 886,265,856 tokens (0.8863B)- `nemotron_cc_math_4plus`: 554,127,360 tokens (0.5541B)- `scibase_filtered`: 370,488,320 tokens (0.3705B)- `sangraha_ver_rom`: 259,624,960 tokens (0.2596B)- `wikipedia_en`: 223,411,200 tokens (0.2234B)- **WSD LR schedule**: 2,000-step linear warmup, constant peak LR (`lr_scale = 1.0`, WSD decay NOT activated)- **Data mix**: 43.6% FineWeb-Edu (`int_score >= 4`), 21.8% UltraData-Stack-v3-L2 (`quality_score >= 5`), 13.6% Nemotron-CC-Math (`4plus`), 9.1% Scibase-filtered, 6.4% Sangraha (verified + romanized), 5.5% Wikipedia (`20231101.en`)- **Latest metrics**: `{"step": 15521, "stage": "S1-10L+probe", "loops": 12, "mean_loops": 9.977, "tbptt": 2, "lr_scale": 1.0, "tok_s": 203819.6, "tot_loss": 0.0, "lm_loss": 0.0, "ppl": 1.0, "echo_loss": 0.0, "aux_loss": 0.0, "gnorm_core": 0.0445, "gnorm_router": 0.2137, "router_entropy": 0.99721, "max_load_ratio": 3.474, "eng_gate": 0.4082, "mem_gate": 0.2488, "bridge_rms": 0.455, "tokens_seen": 4068737024, "tokens_seen_B": 4.068737, "wall_min": 213.32, "tok_fineweb_edu_M": 1774.819, "tok_ultradata_stack_v3_l2_M": 886.266, "tok_nemotron_cc_math_4plus_M": 554.127, "tok_scibase_filtered_M": 370.488, "tok_sangraha_ver_rom_M": 259.625, "tok_wikipedia_en_M": 223.411}`## Exact Resume Command (4x A100-80GB)```bashtorchrun --nproc_per_node=4 code/train_stage1_cortex.py \--manifest data_manifests/stage1_manifest.json \--tokenizer-path tokenizer/tokenizer.json \--resume-dir checkpoint/latest \--micro-batch-size 64 \--grad-accum 1 \--seq-len 1024```
README.md+35-1