Views
No views yet
| Metric | This checkpoint | OpenAI GPT-2 124M baseline |
|---|---|---|
| Val loss (final) | 3.3969 | 3.292 |
| HellaSwag acc_norm | 26.99% | 29.45% |
model_19072.pt — final training-step checkpoint. Contains model (state_dict), config (GPTConfig dataclass), step, and val_loss. 523 MB.1import torch
2from train_gpt2_cloud import GPT
3
4ckpt = torch.load('model_19072.pt', map_location='cpu', weights_only=False)
5config = ckpt['config']
6model = GPT(config)
7
8# strip the _orig_mod. prefix added by torch.compile during training
9state_dict = {k.replace('_orig_mod.', ''): v for k, v in ckpt['model'].items()}
10model.load_state_dict(state_dict)
11model.eval()