Views
No views yet
| File | Model | Params | Description |
|---|---|---|---|
base_best.pt | Base GPT | 28.9M | Vanilla causal GPT. 4 layers, 4 heads, 256 dim. |
matched_best.pt | Matched GPT | 30.5M | 6 layers, 4 heads, 256 dim. Parameter-matched to adaptive. |
adaptive_best.pt | Adaptive GPT | 30.5M | Base + per-head TinyHeadTransformer hypernetwork on V. |
diffusion_best.pt | Diffusion GPT | 28.9M | Bidirectional denoising (discrete diffusion). |
adaptive_diffusion_best.pt | Adaptive Diffusion GPT | 30.5M | Diffusion + per-head hypernetwork on V. |
1import torch
2from models.base_gpt import GPT_Base, GPT_Base_Config
3from models.a_gpt import GPT_Custom, GPT_Custom_Config, HyperConfig
4
5# Example: load adaptive checkpoint
6config = GPT_Custom_Config()
7hyper_config = HyperConfig()
8model = GPT_Custom(config, hyper_config=hyper_config)
9
10ckpt = torch.load("adaptive_best.pt", map_location="cpu")
11model.load_state_dict(ckpt["model"])
12