open-sci-ref v0.01 1.7B (Nemotron-CC-HQ 300B) — continual pretraining on AoA<10 data
Continual pretraining of open-sci/open-sci-ref-v0.01-1.7b-nemotron-hq-300B-4096 starting from its
last pre-cooldown checkpoint (iter_0058000; the original WSD cooldown starts at iter 58,129 = 80% of 72,661)
on a-kemeklis/nemotron-cc-hq-aoa10-2pct-ascii-tokenized-neox.
The original cooldown is replaced by a cooldown on 3B tokens of this dataset.
Branches: one per checkpoint, every 0.5B tokens: tokens_0.5B (step 122), tokens_1.0B (243), tokens_1.5B (364),
tokens_2.0B (485), tokens_2.5B (606), tokens_3.0B (727). main = tokens_3.0B (final) plus the run files below.
(Checkpoint at step s has seen s × 4,128,768 tokens, e.g. tokens_0.5B = 0.504B.)
Recipe
- Global batch 1008 x 4096 tokens (4,128,768 tokens/step), 727 steps = 3.0016B tokens. Documents streamed from the Hub and shuffled
(
datasets5.0.1IterableDataset.shuffle(seed=1234, buffer_size=50_000): file-order shuffle, 10 files interleaved per worker, 50k-document shuffle buffer per worker, 8 workers) and packed Megatron-style (EOS-separated, no BOS, 4097-token windows with stride 4096). - AdamW (β=0.9/0.95, eps 1e-8, wd 0.05; no wd on biases and 1-D params, as in Megatron), grad clip 1.0, bf16 autocast with fp32 master weights, dropout 0.1 (attention + Megatron-style hidden dropout on embeddings/attn-out/MLP-out), as in the original run (open-sci-ref-0.01 paper, arXiv:2509.09009v3).
- LR: 25-step linear warmup to 0.004 (optimizer state of the original run is not published, so AdamW starts fresh), then linear decay to 0 at step 727 — the same linear-cooldown shape and peak LR as the original run.
- Adam β/eps and grad clipping are not stated in the paper; the values above are common Megatron settings, not confirmed to match the original run.
- Single NVIDIA B200, ~13.2 h (63k tokens/s), PyTorch 2.11 + transformers 4.51.3 (custom
modeling_opensci.pyfrom theiter_0058000branch; the base repo'smaincode needs a newer transformers).
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "a-kemeklis/open-sci-ref-v0.01-1.7b-nemotron-hq-300B-4096-cpt-aoa10-3B"
m = AutoModelForCausalLM.from_pretrained(repo, revision="tokens_3.0B", trust_remote_code=True) # transformers==4.51.x
tok = AutoTokenizer.from_pretrained(repo, revision="tokens_3.0B")
Results
Held-out loss (mean per-token cross-entropy, nats; 4096 context, eval mode, bf16). Evaluated on 262k tokens per partition from
6 random data files per partition that the run never read. Those files were identified from the saved dataloader state:
2,122 of 5,319 files were read (80 only partially) and 3,197 were untouched; see run_files/shards_touched.json.
| model | real (kind=actual) | synthetic (diverse_qa_pairs) | mean |
|---|---|---|---|
open-sci-ref iter_0058000 (start, pre-cooldown) | 2.5669 | 2.2074 | 2.3872 |
open-sci-ref main (original 300B run's own cooldown) | 2.4215 | 2.0774 | 2.2494 |
this run tokens_0.5B | 2.4315 | 2.1147 | 2.2731 |
this run tokens_1.0B | 2.3977 | 2.0981 | 2.2479 |
this run tokens_1.5B | 2.3686 | 2.0709 | 2.2197 |
this run tokens_2.0B | 2.3375 | 2.0524 | 2.1949 |
this run tokens_2.5B | 2.3226 | 2.0378 | 2.1802 |
this run tokens_3.0B | 2.3111 | 2.0307 | 2.1709 |
The held-out files come from the same distribution as the training data, so these numbers measure in-distribution fit. They say nothing about general capability relative to the original cooldown, and no downstream benchmarks were run.
Training curves: run_files/training_curves.png. Training loss (logged every 5 steps, single batch, dropout on) fell from ~2.27 to ~2.07.
There was one loss spike around steps 135–150 (~0.56–0.62B tokens): grad norm 0.25 → 1.17 (clipped at 1.0) → 0.52, train loss 2.20 → 2.41 → 2.29.
It recovered by about step 155, and held-out loss still improves monotonically across all checkpoints.
Run files (run_files/ on main)
| file | content |
|---|---|
../train.py | exact training script (defaults = this run) |
train_log.txt, metrics.csv, metrics.jsonl | training log; step, tokens, loss, grad norm, LR, throughput every 5 steps |
training_curves.png | loss / LR / grad-norm plot |
eval_heldout.py, eval_heldout_results.json | held-out evaluation above (script, numbers, list of files used) |
shards_touched.json | data files read / not read during training (reconstructed from the dataloader state) |
eval_loss.py | early sanity check vs Pythia-1.4B (same tokenizer), run during training |
aborted_start_dropout0_log.txt | an aborted first start (8 steps, nothing saved) that used dropout 0 before the 0.01 paper's dropout=0.1 was confirmed |
launch_supervisor.sh, supervisor_cpt.conf | how the job was launched |
requirements_frozen.txt, hardware.txt | Python environment and hardware |
The final full training state (fp32 master weights, AdamW moments, dataloader/shuffle position at step 727; 20.6 GB) is in a separate repo:
a-kemeklis/open-sci-ref-v0.01-1.7b-nemotron-hq-300B-4096-cpt-aoa10-3B-training-state.