{
  "_comment": "~52M params, sized between gpt-25m and gpt-100m. vocab 4096 to match the local tok4096 train.bin (19.14M tokens). batch_size is the MICRO-batch: 8 x 8 x 1024 = 65536 tokens/step; 1170 steps = ~4 epochs over the 19.14M-token set. Warmup is 10% of the run. precision is parsed but not yet honored - all kernels are f32.",
  "model": {
    "name": "gpt-50m",
    "n_layers": 10,
    "d_model": 640,
    "n_heads": 10,
    "n_kv_heads": 10,
    "d_ff": 1728,
    "vocab_size": 4096,
    "context_length": 1024,
    "tied_embeddings": true,
    "use_rope": true,
    "rope_theta": 10000.0,
    "norm": "rmsnorm",
    "norm_eps": 1e-06,
    "activation": "swiglu",
    "dropout": 0.0
  },
  "train": {
    "lr": 0.0005,
    "min_lr_ratio": 0.1,
    "warmup_steps": 117,
    "max_steps": 1170,
    "beta1": 0.9,
    "beta2": 0.95,
    "eps": 1e-08,
    "weight_decay": 0.1,
    "grad_clip": 1.0,
    "batch_size": 8,
    "grad_accum_steps": 8,
    "precision": "f32",
    "checkpoint_every": 200,
    "eval_every": 100,
    "eval_batches": 20,
    "seed": 1337
  }
}
