FineWeb-Edu Llama 3B — Scratch
A base causal language model trained on FineWeb-Edu from random initialization. This release contains the final step-23,478 checkpoint, in FP32 safetensors with a GPT-2 tokenizer. It has no instruction or chat fine-tuning.
| Parameters | Context | FineWeb-Edu tokens* | Learning rate | Weight decay | Seed |
|---|---|---|---|---|---|
| 3,253,343,232 | 2,048 | 98.47B | 0.0001 | 0.1 | 0 |
Nominal tokens = optimizer steps × effective batch (2,048) × context length; excludes repeated work before resumes.
At the start of text training, input embeddings used N(mean=0, std=1) and the untied output head used PyTorch's default linear-layer uniform initialization. Historical initialization is recorded in config.json under training_initialization.
Load
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "hanseungwook/fineweb-edu-llama-3b-scratch-wd0p1"
tokenizer = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, torch_dtype="auto", device_map="auto")
Compare initializations
Scratch starts from random weights. Dyck and NCA transfer a pre-pre-trained transformer and reset the text embeddings and output head. Within each size, these runs share the text-training budget, seed, learning rate, and weight decay.
| Initialization | 1.6B family · ~32B text tokens | 3B · ~98B text tokens |
|---|---|---|
| Scratch | Model | Model |
| Dyck | Model | Model |
| NCA | Model | Model |
Provenance and verification
Training run: fineweb_edu_98b_llama_3b_scratch_gbs2048_wd0p1_1583668.
Last logged validation loss: 2.5997 at step 23,000, before the final checkpoint; this is not a new evaluation of the released weights.
conversion_report.json records native/HF logit parity through the full context length, exact tensor equality after reload, tokenizer parity, and source-checkpoint details.