Sae-lens

Latest version: v5.6.1

Safety actively analyzes 723973 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 22

5.4.1

Chore

* chore: moves files in tests/unit to tests (417) ([`251d3cd`](https://github.com/jbloomAus/SAELens/commit/251d3cd853e19ae54d09959a1b853e45c09b57b0))

* chore: removing overlooked legacy file (416) ([`02360b0`](https://github.com/jbloomAus/SAELens/commit/02360b06931cdc9b67f2b81bc96929253f7a7e19))

* chore: delete legacy files (415)

* deleting legacy files

* moving tsea stuff into tutorials dir ([`157e2ad`](https://github.com/jbloomAus/SAELens/commit/157e2ad127467b4d7bda555b24a526e85d437a50))

Fix

* fix: ensure flattened_mask is on correct device in evals (418) ([`38370d4`](https://github.com/jbloomAus/SAELens/commit/38370d41c02507d84f95fa58e5b070d46fb88d7f))

5.4.0

Feature

* feat: ignore special tokens in SAE training (413)

* feat: allow masking special tokens during training

* filter out special tokens in activations store before passing to trainer

* ignore special tokens in evals too ([`9e269df`](https://github.com/jbloomAus/SAELens/commit/9e269df65a3227eb1d5d451231c04243271c895b))

5.3.4

Chore

* chore: fix sae loading in logits_lens_with_features.ipynb example (406)

when load `sae` through `SAE.from_pretrained`, `sae_id` should change with `layer` not always `blocks.0.hook_resid_pre` ([`36dab85`](https://github.com/jbloomAus/SAELens/commit/36dab85319464218500963bd7159e6ace6cbf230))

Fix

* fix: remove restrictive typeguard dependency (414)

merging as this is a problem in the current production release and should be uncontroversial ([`77de73c`](https://github.com/jbloomAus/SAELens/commit/77de73c625fedb154384f88d4ca80ad9016a66b7))

Unknown

* added NP name to R1 distillation SAE ([`8ccc556`](https://github.com/jbloomAus/SAELens/commit/8ccc5563ab91c30c2dfb887d7380d2e528577b5a))

* Merge pull request 412 from jbloomAus/feature/qresearch-r1-distill-l19-sae

Added qresearch SAE for distilled R1 LLaMa ([`32f4a60`](https://github.com/jbloomAus/SAELens/commit/32f4a60ca209a04bbb09b1b1666108aa6a2709a1))

* Update pyproject.toml ([`84ee3d4`](https://github.com/jbloomAus/SAELens/commit/84ee3d42c0d8202b3b3fad52c8d4ba5c76b1a678))

* several updates to fix typing issues ([`9482155`](https://github.com/jbloomAus/SAELens/commit/948215562b1c44e39d97306a3a5c769b0b1f4f07))

* Added qresearch SAE for distilled R1 LLaMa ([`08191f4`](https://github.com/jbloomAus/SAELens/commit/08191f46e929e7779ca0958364d25c0b5ac2a8c6))

5.3.3

Fix

* fix: removing invalid gemma scope SAEs from the supported SAEs llist (408) ([`60c97f5`](https://github.com/jbloomAus/SAELens/commit/60c97f5174545f8da0c6af5b52605633cf5e34a5))

5.3.2

Fix

* fix: fixing jumprelu threshold when folding dec norm (404) ([`06b6669`](https://github.com/jbloomAus/SAELens/commit/06b66695ddcab4ee37969ba07e59b0ed76615748))

5.3.1

Chore

* chore: Fixed bug in the neuronpedia_integration cell in notebook (402)

* corrected basic loading tutorial

* fix formatting

---------

Co-authored-by: David Chanin <chanindavgmail.com> ([`4935b83`](https://github.com/jbloomAus/SAELens/commit/4935b8351d8b2bdcbcc6b4f3a5c61b33ab82cf9e))

Fix

* fix: removing deleted saebench SAEs from pretrained_saes.yaml (403) ([`65e1986`](https://github.com/jbloomAus/SAELens/commit/65e1986132d5dda94c01ad7d61d6a49a6c1f31aa))

Page 2 of 22

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.