File size: 1,466 Bytes
d05f60c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # Final submission summary
Model: /workspace/final_model — NanoLM 1.50B params (1.23B non-embedding), fp32 safetensors, custom HF code (trust_remote_code).
- 24 layers, d=2048, 16 heads x 128, SwiGLU ffn 5632, RMSNorm pre-norm, QK-norm, RoPE (theta 1e4), untied embeddings,
logit softcap 30, context 2048 (max_position_embeddings=2048). BOS=EOS=<|endoftext|> (id 0).
- Tokenizer: byte-level BPE (Llama-3 regex pre-tokenizer), 65536 vocab, trained from scratch on a 2.7GB sample of the mix. Lossless.
- Data: 33.4B tokens seen (single pass, <=1.5 epochs for any source) from a 23-source mix (40.4B tokens tokenized):
DCLM-baseline 24%, FineWeb-Edu 17%, FineWeb 5.5%, Dolma cc_en_head/C4/RefinedWeb/CC-news ~11%, code (StarCoder via Dolma: py/js/java/cpp/c#/misc/md) 12.5%,
peS2o 5%, arXiv 3.5%, Wikipedia 6%, books (Gutenberg) 4.5%, Reddit 3%, StackExchange 3.5%, OpenWebMath 2.5%, AlgebraicStack 1%, Tulu-FLAN 1%.
- Training: 16xH100 (2 nodes), 825 min, batch 1.05M tokens, seq 2048 with document-masked varlen flash attention and per-doc position reset.
Muon (lr 0.015, wd 0.01, momentum 0.95 nesterov, Newton-Schulz 5) for hidden matrices; AdamW for embeddings (6e-3), head (2e-3), norms (2e-3).
Warmup 500 steps, constant, linear decay to 0 over the last 30% of the time budget. bf16 autocast, fp32 master weights.
- Code: /workspace/code (train.py, hf/, export_hf.py, prep_data.py, train_tokenizer.py, make_mix.py). Notes: /workspace/notes/plan.md.
|