Skip to content

Add matched four-head nanoGPT baseline - #120

Merged
charlesmartin14 merged 5 commits into
mainfrom
feature/nanogpt-four-head-baseline
Aug 27, 2026
Merged

Add matched four-head nanoGPT baseline#120
charlesmartin14 merged 5 commits into
mainfrom
feature/nanogpt-four-head-baseline

Conversation

@charlesmartin14

Copy link
Copy Markdown
Member

Adds a tracked four-head (n_embd=128, 4×32 heads) AdamW–MuonClip configuration using the same four-epoch schedule and five paired seeds as the one-head campaign. Generalizes the one-block model/config validation to accept valid head counts while preserving existing one-head behavior. Adds tests for equal parameter count, four-head forward propagation, campaign configuration, and independent per-head MuonClip QK clipping.

Validation: 26 passed across test_one_head.py and test_muonclip.py.

@charlesmartin14
charlesmartin14 merged commit 586d167 into main Aug 27, 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