$ the-wire · showcase
SAELens rescales Gemma Scope b_dec, fixes interrupted-run checkpointing
By RepoJournal · Filed · About Interpretability · Composed from the cited sources · methodology
Two SAELens fixes land for anyone loading Gemma Scope embedding SAEs or resuming preempted training runs: reconstructions from the scaled W_enc/W_dec are no longer offset by an unscaled b_dec, and interruption handling now writes the SAE and trainer state rather than only the activations store.
fix: scale b_dec for Gemma Scope embedding SAEs jbloomAus/SAELens
The loader already rescales W_enc and W_dec by sqrt(d_model) because Gemma Scope embedding SAEs were trained on raw token embeddings before Gemma applies that factor at hook_embed, and the decoder bias was left out; reconstructions from those SAEs should now line up. If you load Gemma Scope embedding SAEs through SAELens, re-run any downstream analysis that depended on reconstruction error.
fix: save the SAE and trainer state when LanguageModelSAETrainingRunner is interrupted (#811) jbloomAus/SAELens
The merged fix makes `LanguageModelSAETrainingRunner` write the SAE weights and trainer state on SIGINT/SIGTERM, so a preempted run can actually be picked up with resume_from_checkpoint instead of restarting from the last activations-store write.
fix: save the SAE and trainer state when LanguageModelSAETrainingRunner is interrupted jbloomAus/SAELens
The underlying cause, per faisalhacks: `save_checkpoint` in the interruption path is the runner's save_checkpoint_fn callback, which only writes the activations store, so the checkpoint directory named for trainer.n_training_samples held no model state.