Repository

upul/Build-GPT-2

Build-GPT-2

Open github.com

upul/Build-GPT-2

Build-GPT-2

GPT-2 124M trained from scratch in PyTorch with explicit data sharding, DDP, resumable checkpoints, HellaSwag evaluation, and W&B logging in ~1,600 lines.

Visit project

Show me a random project

First shared
Oct 15, 2026
HN activity
10

Show HN@upulbandaraOct 15, 2026

Show HN: GPT-2 124M trained from scratch – 2.48B tokens, 2.8h on 4 A40s

Community

Hacker News discussion

Loading the thread…