d24-pretrain-v2-climbmix-13B

v2 from-scratch pretrained BASE LM (strong base).

nanochat-style depth-24 decoder โ€” 24 layers ร— 1536 hidden ร— 12 heads, SwiGLU / RoPE / RMSNorm, tied embeddings, GPT-2 BPE vocab (50304), 0.757B params, 2048-token context.

Lineage. From scratch on 13.1B ClimbMix tokens with a WSD LR schedule, GPT-2 vocab.

Metrics. val loss 2.53 / test 2.53. Base for the v2 reasoning-midtrain/SFT lineage.

Use (base LM)

This is a base language model (pre-SFT) โ€” use it for text continuation, not chat. EOS is the GPT-2 <|endoftext|> (50256). For a chat model, use the d24-sft-* checkpoints.

from transformers import AutoModelForCausalLM, AutoTokenizer
mid = "sfanm/d24-pretrain-v2-climbmix-13B"
tok = AutoTokenizer.from_pretrained(mid)
model = AutoModelForCausalLM.from_pretrained(mid, torch_dtype="bfloat16", device_map="auto")
inputs = tok("The derivative of x**2 is", return_tensors="pt").to(model.device)
print(tok.decode(model.generate(**inputs, max_new_tokens=128)[0], skip_special_tokens=True))

Research checkpoint from a from-scratch nanochat-d24 replication (pretrain โ†’ midtrain โ†’ SFT โ†’ RL) on NERSC Perlmutter. Trained on third-party corpora (ClimbMix, FineMath, OpenMath, MetaMath, OpenThoughts, OLMo-3 Dolmino, SmolTalk, โ€ฆ) โ€” see those datasets' licenses; provided as-is for research.

Downloads last month
5
Safetensors
Model size
0.8B params
Tensor type
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support