mofengenden's picture
Add files using upload-large-folder tool
527b1a3 verified
|
Raw History Blame Contribute Delete
50.6 kB

From-scratch pretraining run

Objective: minimize held-out UTF-8 bits per byte within 256 H100 GPU-hours and 23.5 hours. No pretrained model weights are used.

Tokenizer: trained byte-level BPE from 554 MB of text sampled from FineWeb-Edu, the public SmolLM2 training-data sample, and SlimPajama. Vocabulary 32,768; full 256-byte alphabet; no normalization or cleanup; BOS 1, EOS 0, PAD 2. The training preprocessing encoder is tiktoken rebuilt from the learned BPE ranks; it matched the saved Hugging Face tokenizer on 3,000 sampled documents.

Architecture under test: Llama-compatible decoder, RMSNorm, RoPE, grouped-query attention, SwiGLU, tied embeddings. All weights initialized randomly. Custom training implementation compared exactly against Transformers Llama in an FP32 small-model forward test. Export uses ordinary Llama config and safetensors.

Data: FineWeb-Edu, EleutherAI's SmolLM2-135M-10B dataset (not its model), DKYoon/SlimPajama-6B, selected Dolma v1.7 documents from books, peS2o, arXiv, StackExchange, Wikipedia, Reddit, and StarCoder, plus Wikipedia in French/German/Spanish/Russian/Chinese/Japanese. ~48B available tokens. Documents with BLAKE2b hash mod 1000 = 0 are excluded from all training sources and retained for local validation.

Sources consulted:

Experiments:

  • 1.1808B model, batch 4 x 2048, BF16 compiled: ~53.3k tokens/s on one H100.
  • Same model, tensorwise FP8: ~57.8k tokens/s; the modest gain is not sufficient by itself to choose FP8.
  • Matched 222M AdamW and Muon pilots running on four GPUs each, 98M tokens, peak LR .001.
  • Larger 32-layer (1.55B) throughput tests running with BF16 versus rowwise FP8, batch 8 x 2048.

Engineering fixes: Transformers 5 stores RoPE settings in rope_parameters; Liger's fused loss must be outside torch.compile due to a PyTorch 2.10 addmm decomposition issue; JSONL must be split at literal newlines, not Python splitlines(), which also splits valid Unicode line separators embedded in JSON strings.

Pilot outcome: Muon was better at matched token counts; at 98.3M tokens, the shared DCLM held-out sample scored 1.2605 BPB versus AdamW 1.3569, and the shared educational sample 1.3856 versus 1.4700. Pilot validation sets differed in some other domains, so their overall means are not a controlled comparison. The Muon pilot passed every official evaluator validity check on 13 held-out documents (lossless, loads, finite output, deterministic, consistent, causal). It is copied into final_model as a fallback while the larger model trains.

Larger throughput benchmark: 1,552,025,600 parameters, 32 layers, BF16 batch 8 x 2048, 45.6k tokens/s on one H100. Rowwise FP8 was slower at 42.3k tokens/s, so the initial main run uses BF16. The main scale run continues from random initialization for 600 x 1,048,576 tokens on 16 GPUs with Muon + AdamW embeddings/norms, 200-step warmup to .001, and compressed BF16 gradient communication. This is real training and will be resumed.

Controlled evaluation on the same 52 held-out documents (13 domains): AdamW pilot 1.396011 BPB, Muon pilot 1.286990 BPB.

Initial 1.55B run completed 629,145,600 training tokens, steady throughput ~548k tokens/s across 16 H100s. Frozen internal validation mean BPB improved 1.318264 -> 1.114120 between 314.6M and 629.1M tokens. Step 300 passed the official full checks on 52 documents; step 600 continues the same architecture/export and is the current fallback.

FlashAttention-3 forward/backward agreed with FlashAttention-2 within the BF16 numerical comparison thresholds and reduced the full 1.55B benchmark median step time from 0.35895 s to 0.32846 s (~9.3% higher throughput). The long continuation will use FA3 for training only; checkpoints remain standard Llama with normal SDPA inference. Kernel source: https://huggingface.co/kernels-community/flash-attn3, version 1, revision 7cb368cf8278b583132eb72cbf312d54586df2e2.

Communication optimization: shard Muon updates within each 8-GPU node while keeping gradients synchronized over all 16 GPUs. Each node independently applies the same orthogonalization to identical global gradients and momentum states. Resume merges the two former global optimizer shards for each new local owner. This removes cross-node optimizer all-gathers. Measured steady throughput rose from ~550k to ~735k tokens/s (+34%); sampled parameters across every module were bitwise identical across all 16 ranks at steps 1100 and 1200. Training is now continuing in main_local from the 1.048576B-token checkpoint.

A shared Inductor cache on the mounted volume caused a corrupt metadata read on one node in an earlier continuation attempt; that job was stopped, and all subsequent compiler caches are local to each machine. The last good checkpoint was resumed without data/model loss.

Additional calibration and confirmation documents were collected from unused public source shards, with disjoint documents for the two sets. They are not part of the pretraining corpus. These sets will be used only for final checkpoint averaging/temperature-calibration comparisons and final validation. 0.35895 s to 0.32846 s (~9.3% higher throughput). The long continuation will use FA3 for training only; checkpoints remain standard Llama with normal SDPA inference. Kernel source: https://huggingface.co/kernels-community/flash-attn3, version 1, revision 7cb368cf8278b583132eb72cbf312d54586df2e2.

Communication optimization: shard Muon updates within each 8-GPU node while keeping gradients synchronized over all 16 GPUs. Each node independently applies the same orthogonalization to identical global gradients and momentum states. Resume merges the two former global optimizer shards for each new local owner. This removes cross-node optimizer all-gathers. Measured steady throughput rose from ~550k to ~735k tokens/s (+34%); sampled parameters across every module were bitwise identical across all 16 ranks at steps 1100 and 1200. Training is now continuing in main_local from the 1.048576B-token checkpoint.

A shared Inductor cache on the mounted volume caused a corrupt metadata read on one node in an earlier continuation attempt; that job was stopped, and all subsequent compiler caches are local to each machine. The last good checkpoint was resumed without data/model loss.

Additional calibration and confirmation documents were collected from unused public source shards, with disjoint documents for the two sets. They are not part of the pretraining corpus. These sets will be used only for final checkpoint averaging/temperature-calibration comparisons and final validation.

Finalization pipeline prepared: compare the last cooldown checkpoint, the best checkpoint by frozen training validation, and arithmetic averages of the last 3 and 5 saved checkpoints on 848 independent calibration documents. Fit an optional scalar output temperature on calibration text, absorb it into the final RMSNorm weights, and retain it only if the actual BF16 checkpoint improves mean-domain BPB by at least 0.0002. Confirm on a separate 848-document set using the unmodified official evaluator. Selection scoring was checked against official evaluation on a fresh random small model with both short Unicode and multi-window documents; BPB matched within 1e-6, and scaling the final RMSNorm matched explicit logit temperature within 1e-6. 0.35895 s to 0.32846 s (~9.3% higher throughput). The long continuation will use FA3 for training only; checkpoints remain standard Llama with normal SDPA inference. Kernel source: https://huggingface.co/kernels-community/flash-attn3, version 1, revision 7cb368cf8278b583132eb72cbf312d54586df2e2.

Communication optimization: shard Muon updates within each 8-GPU node while keeping gradients synchronized over all 16 GPUs. Each node independently applies the same orthogonalization to identical global gradients and momentum states. Resume merges the two former global optimizer shards for each new local owner. This removes cross-node optimizer all-gathers. Measured steady throughput rose from ~550k to ~735k tokens/s (+34%); sampled parameters across every module were bitwise identical across all 16 ranks at steps 1100 and 1200. Training is now continuing in main_local from the 1.048576B-token checkpoint.

A shared Inductor cache on the mounted volume caused a corrupt metadata read on one node in an earlier continuation attempt; that job was stopped, and all subsequent compiler caches are local to each machine. The last good checkpoint was resumed without data/model loss.

Additional calibration and confirmation documents were collected from unused public source shards, with disjoint documents for the two sets. They are not part of the pretraining corpus. These sets will be used only for final checkpoint averaging/temperature-calibration comparisons and final validation. 0.35895 s to 0.32846 s (~9.3% higher throughput). The long continuation will use FA3 for training only; checkpoints remain standard Llama with normal SDPA inference. Kernel source: https://huggingface.co/kernels-community/flash-attn3, version 1, revision 7cb368cf8278b583132eb72cbf312d54586df2e2.

Communication optimization: shard Muon updates within each 8-GPU node while keeping gradients synchronized over all 16 GPUs. Each node independently applies the same orthogonalization to identical global gradients and momentum states. Resume merges the two former global optimizer shards for each new local owner. This removes cross-node optimizer all-gathers. Measured steady throughput rose from ~550k to ~735k tokens/s (+34%); sampled parameters across every module were bitwise identical across all 16 ranks at steps 1100 and 1200. Training is now continuing in main_local from the 1.048576B-token checkpoint.

A shared Inductor cache on the mounted volume caused a corrupt metadata read on one node in an earlier continuation attempt; that job was stopped, and all subsequent compiler caches are local to each machine. The last good checkpoint was resumed without data/model loss.

Additional calibration and confirmation documents were collected from unused public source shards, with disjoint documents for the two sets. They are not part of the pretraining corpus. These sets will be used only for final checkpoint averaging/temperature-calibration comparisons and final validation.

Finalization pipeline prepared: compare the last cooldown checkpoint, the best checkpoint by frozen training validation, and arithmetic averages of the last 3 and 5 saved checkpoints on 848 independent calibration documents. Fit an optional scalar output temperature on calibration text, absorb it into the final RMSNorm weights, and retain it only if the actual BF16 checkpoint improves mean-domain BPB by at least 0.0002. Confirm on a separate 848-document set using the unmodified official evaluator. Selection scoring was checked against official evaluation on a fresh random small model with both short Unicode and multi-window documents; BPB matched within 1e-6, and scaling the final RMSNorm matched explicit logit temperature within 1e-6.

Data coverage improvement: while the GPUs continue main training, CPU preprocessing is preparing fresh DCLM, books, code, arXiv, science, StackExchange, and math shards for cooldown. Domain weights stay fixed. These sources otherwise receive more than one pass over their smaller original subsets. The cooldown launcher uses the refreshed corpus only after all shards have completed and passed count checks. New source shards exclude the shards reserved for calibration/confirmation, and use the same global hash holdout. Sources: https://huggingface.co/datasets/mlfoundations/dclm-baseline-1.0-parquet and https://huggingface.co/datasets/allenai/dolma. have completed and passed count checks. New source shards exclude the shards reserved for calibration/confirmation, and use the same global hash holdout. Sources: https://huggingface.co/datasets/mlfoundations/dclm-baseline-1.0-parquet and https://huggingface.co/datasets/allenai/dolma.

The refresh is scheduled after the fully saved step-20000 checkpoint (20.97152B tokens), once all ranks have resumed training past its save barrier. The new phase resumes the same optimizer and sampler state, preserves domain proportions, and subtracts already-used main training time from the original 40,500-second allowance. Fresh source files are split at document boundaries into separate main-refresh and cooldown partitions. For books, the first 256 eligible documents of books-0001 are excluded before using its remaining tail; calibration/confirmation used only its first 128 eligible documents. All other reserved evaluation source shards remain excluded. This uses CPU preprocessing to reduce repeated-data exposure without allocating additional GPUs. have completed and passed count checks. New source shards exclude the shards reserved for calibration/confirmation, and use the same global hash holdout. Sources: https://huggingface.co/datasets/mlfoundations/dclm-baseline-1.0-parquet and https://huggingface.co/datasets/allenai/dolma.

The refresh is scheduled after the fully saved step-20000 checkpoint (20.97152B tokens), once all ranks have resumed training past its save barrier. The new phase resumes the same optimizer and sampler state, preserves domain proportions, and subtracts already-used main training time from the original 40,500-second allowance. Fresh source files are split at document boundaries into separate main-refresh and cooldown partitions. For books, the first 256 eligible documents of books-0001 are excluded before using its remaining tail; calibration/confirmation used only its first 128 eligible documents. All other reserved evaluation source shards remain excluded. This uses CPU preprocessing to reduce repeated-data exposure without allocating additional GPUs.

Fresh partitions completed and checked: {"refresh": {"arxiv": 814721479, "books": 1365848743, "code": 1500203389, "dclm": 3171819185, "math": 300008943, "science": 600000615, "stack": 600004577}, "cooldown": {"arxiv": 814289386, "books": 1365439001, "code": 1500201983, "dclm": 3171362387, "math": 299999240, "science": 599999761, "stack": 599998369}}. Token files were split only between complete source documents, and both partitions were checked for lengths, token ranges, BOS/EOS endpoints, and agreement with the original file ranges. Original unexhausted corpora remain available through the same domain paths. erved for calibration/confirmation, and use the same global hash holdout. Sources: https://huggingface.co/datasets/mlfoundations/dclm-baseline-1.0-parquet and https://huggingface.co/datasets/allenai/dolma.

The refresh is scheduled after the fully saved step-20000 checkpoint (20.97152B tokens), once all ranks have resumed training past its save barrier. The new phase resumes the same optimizer and sampler state, preserves domain proportions, and subtracts already-used main training time from the original 40,500-second allowance. Fresh source files are split at document boundaries into separate main-refresh and cooldown partitions. For books, the first 256 eligible documents of books-0001 are excluded before using its remaining tail; calibration/confirmation used only its first 128 eligible documents. All other reserved evaluation source shards remain excluded. This uses CPU preprocessing to reduce repeated-data exposure without allocating additional GPUs. have completed and passed count checks. New source shards exclude the shards reserved for calibration/confirmation, and use the same global hash holdout. Sources: https://huggingface.co/datasets/mlfoundations/dclm-baseline-1.0-parquet and https://huggingface.co/datasets/allenai/dolma.

The refresh is scheduled after the fully saved step-20000 checkpoint (20.97152B tokens), once all ranks have resumed training past its save barrier. The new phase resumes the same optimizer and sampler state, preserves domain proportions, and subtracts already-used main training time from the original 40,500-second allowance. Fresh source files are split at document boundaries into separate main-refresh and cooldown partitions. For books, the first 256 eligible documents of books-0001 are excluded before using its remaining tail; calibration/confirmation used only its first 128 eligible documents. All other reserved evaluation source shards remain excluded. This uses CPU preprocessing to reduce repeated-data exposure without allocating additional GPUs.

Fresh partitions completed and checked: {"refresh": {"arxiv": 814721479, "books": 1365848743, "code": 1500203389, "dclm": 3171819185, "math": 300008943, "science": 600000615, "stack": 600004577}, "cooldown": {"arxiv": 814289386, "books": 1365439001, "code": 1500201983, "dclm": 3171362387, "math": 299999240, "science": 599999761, "stack": 599998369}}. Token files were split only between complete source documents, and both partitions were checked for lengths, token ranges, BOS/EOS endpoints, and agreement with the original file ranges. Original unexhausted corpora remain available through the same domain paths.

Source audit identified the initial Smol sample DCLM component as DCLM-Edu. The fresh continuation uses DCLM-Baseline, adding broader web coverage; the DCLM-Edu dataset card reports inconsistent gains from switching to educational subsets late in 1.7B training. For cooldown, prepare a blend of fresh baseline and DCLM-Edu (edu_int_score >= 3) inside the existing 25% DCLM domain, plus fresh shards for the remaining domains. Sources: https://huggingface.co/datasets/HuggingFaceTB/dclm-edu and https://huggingface.co/datasets/HuggingFaceTB/smollm-corpus. No pretrained weights or classifiers are run; only already-public text and quality annotations are used. Additional preprocessing excludes reserved validation/calibration/confirmation prefixes and skips the first 256 eligible documents from the reserved Wikipedia source shard before using its tail. erved for calibration/confirmation, and use the same global hash holdout. Sources: https://huggingface.co/datasets/mlfoundations/dclm-baseline-1.0-parquet and https://huggingface.co/datasets/allenai/dolma.

The refresh is scheduled after the fully saved step-20000 checkpoint (20.97152B tokens), once all ranks have resumed training past its save barrier. The new phase resumes the same optimizer and sampler state, preserves domain proportions, and subtracts already-used main training time from the original 40,500-second allowance. Fresh source files are split at document boundaries into separate main-refresh and cooldown partitions. For books, the first 256 eligible documents of books-0001 are excluded before using its remaining tail; calibration/confirmation used only its first 128 eligible documents. All other reserved evaluation source shards remain excluded. This uses CPU preprocessing to reduce repeated-data exposure without allocating additional GPUs. have completed and passed count checks. New source shards exclude the shards reserved for calibration/confirmation, and use the same global hash holdout. Sources: https://huggingface.co/datasets/mlfoundations/dclm-baseline-1.0-parquet and https://huggingface.co/datasets/allenai/dolma.

The refresh is scheduled after the fully saved step-20000 checkpoint (20.97152B tokens), once all ranks have resumed training past its save barrier. The new phase resumes the same optimizer and sampler state, preserves domain proportions, and subtracts already-used main training time from the original 40,500-second allowance. Fresh source files are split at document boundaries into separate main-refresh and cooldown partitions. For books, the first 256 eligible documents of books-0001 are excluded before using its remaining tail; calibration/confirmation used only its first 128 eligible documents. All other reserved evaluation source shards remain excluded. This uses CPU preprocessing to reduce repeated-data exposure without allocating additional GPUs.

Fresh partitions completed and checked: {"refresh": {"arxiv": 814721479, "books": 1365848743, "code": 1500203389, "dclm": 3171819185, "math": 300008943, "science": 600000615, "stack": 600004577}, "cooldown": {"arxiv": 814289386, "books": 1365439001, "code": 1500201983, "dclm": 3171362387, "math": 299999240, "science": 599999761, "stack": 599998369}}. Token files were split only between complete source documents, and both partitions were checked for lengths, token ranges, BOS/EOS endpoints, and agreement with the original file ranges. Original unexhausted corpora remain available through the same domain paths.

Source audit identified the initial Smol sample DCLM component as DCLM-Edu. The fresh continuation uses DCLM-Baseline, adding broader web coverage; the DCLM-Edu dataset card reports inconsistent gains from switching to educational subsets late in 1.7B training. For cooldown, prepare a blend of fresh baseline and DCLM-Edu (edu_int_score >= 3) inside the existing 25% DCLM domain, plus fresh shards for the remaining domains. Sources: https://huggingface.co/datasets/HuggingFaceTB/dclm-edu and https://huggingface.co/datasets/HuggingFaceTB/smollm-corpus. No pretrained weights or classifiers are run; only already-public text and quality annotations are used. Additional preprocessing excludes reserved validation/calibration/confirmation prefixes and skips the first 256 eligible documents from the reserved Wikipedia source shard before using its tail.

Final selection also refines the scalar temperature grid with a local quadratic fit in inverse temperature, then verifies the actual scaled checkpoint. A final calibration-only comparison tests ordinary FP32 inference of the same learned weights against BF16; FP32 is retained only if it improves measured mean-domain BPB by more than 0.00002. The official independent confirmation audit then evaluates the actual selected precision. erved for calibration/confirmation, and use the same global hash holdout. Sources: https://huggingface.co/datasets/mlfoundations/dclm-baseline-1.0-parquet and https://huggingface.co/datasets/allenai/dolma.

The refresh is scheduled after the fully saved step-20000 checkpoint (20.97152B tokens), once all ranks have resumed training past its save barrier. The new phase resumes the same optimizer and sampler state, preserves domain proportions, and subtracts already-used main training time from the original 40,500-second allowance. Fresh source files are split at document boundaries into separate main-refresh and cooldown partitions. For books, the first 256 eligible documents of books-0001 are excluded before using its remaining tail; calibration/confirmation used only its first 128 eligible documents. All other reserved evaluation source shards remain excluded. This uses CPU preprocessing to reduce repeated-data exposure without allocating additional GPUs. have completed and passed count checks. New source shards exclude the shards reserved for calibration/confirmation, and use the same global hash holdout. Sources: https://huggingface.co/datasets/mlfoundations/dclm-baseline-1.0-parquet and https://huggingface.co/datasets/allenai/dolma.

The refresh is scheduled after the fully saved step-20000 checkpoint (20.97152B tokens), once all ranks have resumed training past its save barrier. The new phase resumes the same optimizer and sampler state, preserves domain proportions, and subtracts already-used main training time from the original 40,500-second allowance. Fresh source files are split at document boundaries into separate main-refresh and cooldown partitions. For books, the first 256 eligible documents of books-0001 are excluded before using its remaining tail; calibration/confirmation used only its first 128 eligible documents. All other reserved evaluation source shards remain excluded. This uses CPU preprocessing to reduce repeated-data exposure without allocating additional GPUs.

Fresh partitions completed and checked: {"refresh": {"arxiv": 814721479, "books": 1365848743, "code": 1500203389, "dclm": 3171819185, "math": 300008943, "science": 600000615, "stack": 600004577}, "cooldown": {"arxiv": 814289386, "books": 1365439001, "code": 1500201983, "dclm": 3171362387, "math": 299999240, "science": 599999761, "stack": 599998369}}. Token files were split only between complete source documents, and both partitions were checked for lengths, token ranges, BOS/EOS endpoints, and agreement with the original file ranges. Original unexhausted corpora remain available through the same domain paths.

Source audit identified the initial Smol sample DCLM component as DCLM-Edu. The fresh continuation uses DCLM-Baseline, adding broader web coverage; the DCLM-Edu dataset card reports inconsistent gains from switching to educational subsets late in 1.7B training. For cooldown, prepare a blend of fresh baseline and DCLM-Edu (edu_int_score >= 3) inside the existing 25% DCLM domain, plus fresh shards for the remaining domains. Sources: https://huggingface.co/datasets/HuggingFaceTB/dclm-edu and https://huggingface.co/datasets/HuggingFaceTB/smollm-corpus. No pretrained weights or classifiers are run; only already-public text and quality annotations are used. Additional preprocessing excludes reserved validation/calibration/confirmation prefixes and skips the first 256 eligible documents from the reserved Wikipedia source shard before using its tail.

Final selection also refines the scalar temperature grid with a local quadratic fit in inverse temperature, then verifies the actual scaled checkpoint. A final calibration-only comparison tests ordinary FP32 inference of the same learned weights against BF16; FP32 is retained only if it improves measured mean-domain BPB by more than 0.00002. The official independent confirmation audit then evaluates the actual selected precision.

Validation-driven correction: at step21000 the full data refresh increased mean BPB from0.812035 to0.816622. Domain deltas were math+0.049828, code+0.025308, StackExchange+0.017070; arXiv/web/multilingual and most other domains improved. These changed source distributions were not interchangeable with the validated mixed/curated pools. A checkpointed correction at step22000 restores original math, code, and StackExchange pools for the remaining main training and cooldown while retaining other refreshed sources. All remaining main training time is carried forward; optimizer states and weights are resumed. own": {"arxiv": 814289386, "books": 1365439001, "code": 1500201983, "dclm": 3171362387, "math": 299999240, "science": 599999761, "stack": 599998369}}. Token files were split only between complete source documents, and both partitions were checked for lengths, token ranges, BOS/EOS endpoints, and agreement with the original file ranges. Original unexhausted corpora remain available through the same domain paths.

Source audit identified the initial Smol sample DCLM component as DCLM-Edu. The fresh continuation uses DCLM-Baseline, adding broader web coverage; the DCLM-Edu dataset card reports inconsistent gains from switching to educational subsets late in 1.7B training. For cooldown, prepare a blend of fresh baseline and DCLM-Edu (edu_int_score >= 3) inside the existing 25% DCLM domain, plus fresh shards for the remaining domains. Sources: https://huggingface.co/datasets/HuggingFaceTB/dclm-edu and https://huggingface.co/datasets/HuggingFaceTB/smollm-corpus. No pretrained weights or classifiers are run; only already-public text and quality annotations are used. Additional preprocessing excludes reserved validation/calibration/confirmation prefixes and skips the first 256 eligible documents from the reserved Wikipedia source shard before using its tail.

Final selection also refines the scalar temperature grid with a local quadratic fit in inverse temperature, then verifies the actual scaled checkpoint. A final calibration-only comparison tests ordinary FP32 inference of the same learned weights against BF16; FP32 is retained only if it improves measured mean-domain BPB by more than 0.00002. The official independent confirmation audit then evaluates the actual selected precision.

Validation-driven correction: at step21000 the full data refresh increased mean BPB from0.812035 to0.816622. Domain deltas were math+0.049828, code+0.025308, StackExchange+0.017070; arXiv/web/multilingual and most other domains improved. These changed source distributions were not interchangeable with the validated mixed/curated pools. A checkpointed correction at step22000 restores original math, code, and StackExchange pools for the remaining main training and cooldown while retaining other refreshed sources. All remaining main training time is carried forward; optimizer states and weights are resumed.

At step22000 the refreshed validation remained worse at0.816850 BPB, confirming the source-distribution regression. The correction resumed that complete checkpoint as main_corrected with9,728 seconds of the original main training allowance remaining. own": {"arxiv": 814289386, "books": 1365439001, "code": 1500201983, "dclm": 3171362387, "math": 299999240, "science": 599999761, "stack": 599998369}}. Token files were split only between complete source documents, and both partitions were checked for lengths, token ranges, BOS/EOS endpoints, and agreement with the original file ranges. Original unexhausted corpora remain available through the same domain paths.

Source audit identified the initial Smol sample DCLM component as DCLM-Edu. The fresh continuation uses DCLM-Baseline, adding broader web coverage; the DCLM-Edu dataset card reports inconsistent gains from switching to educational subsets late in 1.7B training. For cooldown, prepare a blend of fresh baseline and DCLM-Edu (edu_int_score >= 3) inside the existing 25% DCLM domain, plus fresh shards for the remaining domains. Sources: https://huggingface.co/datasets/HuggingFaceTB/dclm-edu and https://huggingface.co/datasets/HuggingFaceTB/smollm-corpus. No pretrained weights or classifiers are run; only already-public text and quality annotations are used. Additional preprocessing excludes reserved validation/calibration/confirmation prefixes and skips the first 256 eligible documents from the reserved Wikipedia source shard before using its tail.

Final selection also refines the scalar temperature grid with a local quadratic fit in inverse temperature, then verifies the actual scaled checkpoint. A final calibration-only comparison tests ordinary FP32 inference of the same learned weights against BF16; FP32 is retained only if it improves measured mean-domain BPB by more than 0.00002. The official independent confirmation audit then evaluates the actual selected precision.

Validation-driven correction: at step21000 the full data refresh increased mean BPB from0.812035 to0.816622. Domain deltas were math+0.049828, code+0.025308, StackExchange+0.017070; arXiv/web/multilingual and most other domains improved. These changed source distributions were not interchangeable with the validated mixed/curated pools. A checkpointed correction at step22000 restores original math, code, and StackExchange pools for the remaining main training and cooldown while retaining other refreshed sources. All remaining main training time is carried forward; optimizer states and weights are resumed.

At step22000 the refreshed validation remained worse at0.816850 BPB, confirming the source-distribution regression. The correction resumed that complete checkpoint as main_corrected with9,728 seconds of the original main training allowance remaining.

Final precision comparison preparation

Cooldown will retain five FP32 master checkpoints. The final selection precision candidate now reconstructs the actual trained FP32 weights, or averages their FP32 masters for an averaged candidate, before applying any accepted temperature. It falls back to casting the BF16 export if masters are unavailable. The exported model remains standard Transformers Llama. Small synthetic checks verified original master precision, removal of the tied lm_head duplicate, arithmetic averaging, and missing-master fallback. The CPU cooldown watcher was restarted to pick up the retention option; current main training is unchanged. ased mean BPB from0.812035 to0.816622. Domain deltas were math+0.049828, code+0.025308, StackExchange+0.017070; arXiv/web/multilingual and most other domains improved. These changed source distributions were not interchangeable with the validated mixed/curated pools. A checkpointed correction at step22000 restores original math, code, and StackExchange pools for the remaining main training and cooldown while retaining other refreshed sources. All remaining main training time is carried forward; optimizer states and weights are resumed.

At step22000 the refreshed validation remained worse at0.816850 BPB, confirming the source-distribution regression. The correction resumed that complete checkpoint as main_corrected with9,728 seconds of the original main training allowance remaining. own": {"arxiv": 814289386, "books": 1365439001, "code": 1500201983, "dclm": 3171362387, "math": 299999240, "science": 599999761, "stack": 599998369}}. Token files were split only between complete source documents, and both partitions were checked for lengths, token ranges, BOS/EOS endpoints, and agreement with the original file ranges. Original unexhausted corpora remain available through the same domain paths.

Source audit identified the initial Smol sample DCLM component as DCLM-Edu. The fresh continuation uses DCLM-Baseline, adding broader web coverage; the DCLM-Edu dataset card reports inconsistent gains from switching to educational subsets late in 1.7B training. For cooldown, prepare a blend of fresh baseline and DCLM-Edu (edu_int_score >= 3) inside the existing 25% DCLM domain, plus fresh shards for the remaining domains. Sources: https://huggingface.co/datasets/HuggingFaceTB/dclm-edu and https://huggingface.co/datasets/HuggingFaceTB/smollm-corpus. No pretrained weights or classifiers are run; only already-public text and quality annotations are used. Additional preprocessing excludes reserved validation/calibration/confirmation prefixes and skips the first 256 eligible documents from the reserved Wikipedia source shard before using its tail.

Final selection also refines the scalar temperature grid with a local quadratic fit in inverse temperature, then verifies the actual scaled checkpoint. A final calibration-only comparison tests ordinary FP32 inference of the same learned weights against BF16; FP32 is retained only if it improves measured mean-domain BPB by more than 0.00002. The official independent confirmation audit then evaluates the actual selected precision.

Validation-driven correction: at step21000 the full data refresh increased mean BPB from0.812035 to0.816622. Domain deltas were math+0.049828, code+0.025308, StackExchange+0.017070; arXiv/web/multilingual and most other domains improved. These changed source distributions were not interchangeable with the validated mixed/curated pools. A checkpointed correction at step22000 restores original math, code, and StackExchange pools for the remaining main training and cooldown while retaining other refreshed sources. All remaining main training time is carried forward; optimizer states and weights are resumed.

At step22000 the refreshed validation remained worse at0.816850 BPB, confirming the source-distribution regression. The correction resumed that complete checkpoint as main_corrected with9,728 seconds of the original main training allowance remaining.

Final precision comparison preparation

Cooldown will retain five FP32 master checkpoints. The final selection precision candidate now reconstructs the actual trained FP32 weights, or averages their FP32 masters for an averaged candidate, before applying any accepted temperature. It falls back to casting the BF16 export if masters are unavailable. The exported model remains standard Transformers Llama. Small synthetic checks verified original master precision, removal of the tied lm_head duplicate, arithmetic averaging, and missing-master fallback. The CPU cooldown watcher was restarted to pick up the retention option; current main training is unchanged.

Corrected continuation step 23000: frozen mean BPB 0.807583462, compared with 0.816849909 after refresh and 0.812035010 before refresh. This validates restoring the original code/math/StackExchange pools while retaining other fresh data. Domain deltas are in correction_first_comparison.json. compared with 0.816849909 after refresh and 0.812035010 before refresh. This validates restoring the original code/math/StackExchange pools while retaining other fresh data. Domain deltas are in correction_first_comparison.json.

Cooldown will first evaluate the resumed model at context4096 before applying updates. This supplies a comparable baseline for the longer truncated validation documents; the earlier context2048 BPB is not directly comparable. The watcher was restarted with --eval-start. fresh. This validates restoring the original code/math/StackExchange pools while retaining other fresh data. Domain deltas are in correction_first_comparison.json. compared with 0.816849909 after refresh and 0.812035010 before refresh. This validates restoring the original code/math/StackExchange pools while retaining other fresh data. Domain deltas are in correction_first_comparison.json.

Cooldown will first evaluate the resumed model at context4096 before applying updates. This supplies a comparable baseline for the longer truncated validation documents; the earlier context2048 BPB is not directly comparable. The watcher was restarted with --eval-start.

Main phase completed

Corrected main job1020 completed successfully at step28645, 30,036,459,520 tokens, final frozen context2048 BPB0.7999199409 (best0.7998917093 atstep28000). Cooldown job1021 launched for217minutes on16H100, maximum training12720seconds, from step28645, context4096, fresh corrected pools, cosine LR0.001 to0.00003. Two GPU-hours plus any unused reservation remain for selection and official audit. fresh. This validates restoring the original code/math/StackExchange pools while retaining other fresh data. Domain deltas are in correction_first_comparison.json. compared with 0.816849909 after refresh and 0.812035010 before refresh. This validates restoring the original code/math/StackExchange pools while retaining other fresh data. Domain deltas are in correction_first_comparison.json.

Cooldown will first evaluate the resumed model at context4096 before applying updates. This supplies a comparable baseline for the longer truncated validation documents; the earlier context2048 BPB is not directly comparable. The watcher was restarted with --eval-start. fresh. This validates restoring the original code/math/StackExchange pools while retaining other fresh data. Domain deltas are in correction_first_comparison.json. compared with 0.816849909 after refresh and 0.812035010 before refresh. This validates restoring the original code/math/StackExchange pools while retaining other fresh data. Domain deltas are in correction_first_comparison.json.

Cooldown will first evaluate the resumed model at context4096 before applying updates. This supplies a comparable baseline for the longer truncated validation documents; the earlier context2048 BPB is not directly comparable. The watcher was restarted with --eval-start.

Main phase completed

Corrected main job1020 completed successfully at step28645, 30,036,459,520 tokens, final frozen context2048 BPB0.7999199409 (best0.7998917093 atstep28000). Cooldown job1021 launched for217minutes on16H100, maximum training12720seconds, from step28645, context4096, fresh corrected pools, cosine LR0.001 to0.00003. Two GPU-hours plus any unused reservation remain for selection and official audit.

Cooldown context4096 baseline at unchangedstep28645: 0.805292550 meanBPB. First trained validation atstep28750: 0.801132187. The earlier context2048 monitoring scores are not directly comparable because validation truncation and scored bytes differ. fresh. This validates restoring the original code/math/StackExchange pools while retaining other fresh data. Domain deltas are in correction_first_comparison.json. compared with 0.816849909 after refresh and 0.812035010 before refresh. This validates restoring the original code/math/StackExchange pools while retaining other fresh data. Domain deltas are in correction_first_comparison.json.

Cooldown will first evaluate the resumed model at context4096 before applying updates. This supplies a comparable baseline for the longer truncated validation documents; the earlier context2048 BPB is not directly comparable. The watcher was restarted with --eval-start. fresh. This validates restoring the original code/math/StackExchange pools while retaining other fresh data. Domain deltas are in correction_first_comparison.json. compared with 0.816849909 after refresh and 0.812035010 before refresh. This validates restoring the original code/math/StackExchange pools while retaining other fresh data. Domain deltas are in correction_first_comparison.json.

Cooldown will first evaluate the resumed model at context4096 before applying updates. This supplies a comparable baseline for the longer truncated validation documents; the earlier context2048 BPB is not directly comparable. The watcher was restarted with --eval-start.

Main phase completed

Corrected main job1020 completed successfully at step28645, 30,036,459,520 tokens, final frozen context2048 BPB0.7999199409 (best0.7998917093 atstep28000). Cooldown job1021 launched for217minutes on16H100, maximum training12720seconds, from step28645, context4096, fresh corrected pools, cosine LR0.001 to0.00003. Two GPU-hours plus any unused reservation remain for selection and official audit. fresh. This validates restoring the original code/math/StackExchange pools while retaining other fresh data. Domain deltas are in correction_first_comparison.json. compared with 0.816849909 after refresh and 0.812035010 before refresh. This validates restoring the original code/math/StackExchange pools while retaining other fresh data. Domain deltas are in correction_first_comparison.json.

Cooldown will first evaluate the resumed model at context4096 before applying updates. This supplies a comparable baseline for the longer truncated validation documents; the earlier context2048 BPB is not directly comparable. The watcher was restarted with --eval-start. fresh. This validates restoring the original code/math/StackExchange pools while retaining other fresh data. Domain deltas are in correction_first_comparison.json. compared with 0.816849909 after refresh and 0.812035010 before refresh. This validates restoring the original code/math/StackExchange pools while retaining other fresh data. Domain deltas are in correction_first_comparison.json.

Cooldown will first evaluate the resumed model at context4096 before applying updates. This supplies a comparable baseline for the longer truncated validation documents; the earlier context2048 BPB is not directly comparable. The watcher was restarted with --eval-start.

Main phase completed

Corrected main job1020 completed successfully at step28645, 30,036,459,520 tokens, final frozen context2048 BPB0.7999199409 (best0.7998917093 atstep28000). Cooldown job1021 launched for217minutes on16H100, maximum training12720seconds, from step28645, context4096, fresh corrected pools, cosine LR0.001 to0.00003. Two GPU-hours plus any unused reservation remain for selection and official audit.

Cooldown context4096 baseline at unchangedstep28645: 0.805292550 meanBPB. First trained validation atstep28750: 0.801132187. The earlier context2048 monitoring scores are not directly comparable because validation truncation and scored bytes differ.

Training complete

Cooldown job1021 completed at step36670 and38,451,281,920 total tokens, with final frozen context4096 monitoring BPB0.7460392725 versus initial0.8052925495. Finalization job1022 launched ononeH100 with110minutes reserved for candidate comparisons, temperature calibration, fullprecision comparison and independent official confirmation. ial confirmation.

Remaining-budget continuation plan

Before reading any independent confirmation scores, committed to using returned finalization reservation for a short four-GPU continuation from step36670. Global batch remains1,048,576 tokens (batch4,sequence4096,accum16,world4). LR will decay from0.00003 to0.000006. The already-selected model will be preserved and the continuation retained only if its fully calibrated actual score is lower on the same calibration set. Confirmation scores will not be used for selection. Half a GPU-hour will remain reserved for the final comparison and validity audit. . The already-selected model will be preserved and the continuation retained only if its fully calibrated actual score is lower on the same calibration set. Confirmation scores will not be used for selection. Half a GPU-hour will remain reserved for the final comparison and validity audit.

Initial selection chose the last cooldown checkpoint: BF16 calibrationBPB0.7634262075; FP32 learned-master inference improved to0.7633306108. Temperature1.0 was retained and three/five-checkpoint averaging did not beat the last checkpoint. Initial official audit passed. Continuation job1023 uses4H100 forup to36minutes, training1980seconds, with an identical starting context4096 monitoring score0.7460392725 after optimizer resharing. . The already-selected model will be preserved and the continuation retained only if its fully calibrated actual score is lower on the same calibration set. Confirmation scores will not be used for selection. Half a GPU-hour will remain reserved for the final comparison and validity audit. . The already-selected model will be preserved and the continuation retained only if its fully calibrated actual score is lower on the same calibration set. Confirmation scores will not be used for selection. Half a GPU-hour will remain reserved for the final comparison and validity audit.

Initial selection chose the last cooldown checkpoint: BF16 calibrationBPB0.7634262075; FP32 learned-master inference improved to0.7633306108. Temperature1.0 was retained and three/five-checkpoint averaging did not beat the last checkpoint. Initial official audit passed. Continuation job1023 uses4H100 forup to36minutes, training1980seconds, with an identical starting context4096 monitoring score0.7460392725 after optimizer resharing.

Continuation completed atstep36982:38,778,437,632 tokens. Context4096 monitoring BPB improved from0.7460392725 to0.7457011003; twelve ofthirteen monitoring domains improved and Cosmopedia worsened slightly. The final comparison/audit job1024 has34minutes reserved and will compare against the exact preserved FP32 baseline on calibration before considering confirmation. . The already-selected model will be preserved and the continuation retained only if its fully calibrated actual score is lower on the same calibration set. Confirmation scores will not be used for selection. Half a GPU-hour will remain reserved for the final comparison and validity audit. . The already-selected model will be preserved and the continuation retained only if its fully calibrated actual score is lower on the same calibration set. Confirmation scores will not be used for selection. Half a GPU-hour will remain reserved for the final comparison and validity audit.

Initial selection chose the last cooldown checkpoint: BF16 calibrationBPB0.7634262075; FP32 learned-master inference improved to0.7633306108. Temperature1.0 was retained and three/five-checkpoint averaging did not beat the last checkpoint. Initial official audit passed. Continuation job1023 uses4H100 forup to36minutes, training1980seconds, with an identical starting context4096 monitoring score0.7460392725 after optimizer resharing. . The already-selected model will be preserved and the continuation retained only if its fully calibrated actual score is lower on the same calibration set. Confirmation scores will not be used for selection. Half a GPU-hour will remain reserved for the final comparison and validity audit. . The already-selected model will be preserved and the continuation retained only if its fully calibrated actual score is lower on the same calibration set. Confirmation scores will not be used for selection. Half a GPU-hour will remain reserved for the final comparison and validity audit.

Initial selection chose the last cooldown checkpoint: BF16 calibrationBPB0.7634262075; FP32 learned-master inference improved to0.7633306108. Temperature1.0 was retained and three/five-checkpoint averaging did not beat the last checkpoint. Initial official audit passed. Continuation job1023 uses4H100 forup to36minutes, training1980seconds, with an identical starting context4096 monitoring score0.7460392725 after optimizer resharing.

Continuation completed atstep36982:38,778,437,632 tokens. Context4096 monitoring BPB improved from0.7460392725 to0.7457011003; twelve ofthirteen monitoring domains improved and Cosmopedia worsened slightly. The final comparison/audit job1024 has34minutes reserved and will compare against the exact preserved FP32 baseline on calibration before considering confirmation.

Final submission verified

Final model: /workspace/final_model. Selected step36982 FP32 learned weights,38,778,437,632 training tokens. CalibrationBPB0.7629690129612944 beat preserved baseline0.7633306107837289. Official confirmation valid=true, 0.763903035777 mean-domainBPB and0.782770675892 byte-weightedBPB on848texts. All eight checks passed; fresh unprivileged workers were network-isolated. After the selection was fixed and audit completed, the confirmation change versus the earlier checkpoint was inspected: -0.000290986796. Resource use255.62H100GPU-hours; no GPU jobs remain. Full report, training curves, hashes and machine-readable evaluator output are saved.