Files a run writes¶
| File | Content |
|---|---|
sae.safetensors |
encoder.weight (M, d), encoder.bias (M), decoder.weight (d, M), decoder.bias (d), and threshold (M) for JumpReLU SAEs |
sae_config.json |
sizes, activation rule, k, base model, layer, dataset, columns and prompts, holdout percentage, trainer, tokens trained, and normalize_inputs when the SAE was trained on unit-length activations |
metrics.json |
held-out evaluation, dictionary usage, token counts and timings after training |
train_log.jsonl, trainer_config.json, checkpoint.pt |
topk trainer only |
latents.jsonl |
written by inspect-sae: one line per latent with its firing frequency, position in the text and most frequent tokens |
The decoder bias is folded into the encoder bias, so encoding is one affine map: pre = x @ encoder.weight.T + encoder.bias, then keep the k largest values per token after ReLU. Local paths are recorded by file name only.