Skip to content

Add classical SGD + momentum to stock GPT-2 Small FineWeb TPU speedrun - #170

Merged
charlesmartin14 merged 7 commits into
mainfrom
chatgpt/stock-gpt2-sgd-momentum-20261015
Oct 15, 2026
Merged

charlesmartin14 merged 7 commits into
mainfrom
chatgpt/stock-gpt2-sgd-momentum-20261015

Conversation

@charlesmartin14

Copy link
Copy Markdown
Member

Adds sgd_momentum as an optimizer option in the existing SHA256-pinned stock GPT-2 Small training path, with 0.9 momentum, zero decay, and an explicitly untuned 0.01 peak learning-rate candidate. Retains architecture, data, validation, warmup/cosine schedule, 19,560-step budget, gradient clipping, checkpointing and WeightWatcher tracking. Adds a CPU regression test for tied parameter ownership and momentum update math, and a validation-only hyperparameter sweep protocol.

Not run: TPU preflight, training, hyperparameter sweep, or CI. Do not claim these are best hyperparameters without validation evidence.

@charlesmartin14
charlesmartin14 merged commit 7fdde38 into main Oct 15, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant