Sae-lens

Latest version: v3.22.2

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

Scan your dependencies

Page 6 of 14

3.12.1

Fix

* fix: force release of dtype_fix ([`bfe7feb`](https://github.com/jbloomAus/SAELens/commit/bfe7feb10d987f39a9e0d00f5595869a64de2b5b))

Unknown

* Merge pull request 225 from jbloomAus/dtype_fix

fix: load_from_pretrained should not require a dtype nor default to float32 ([`71d9da8`](https://github.com/jbloomAus/SAELens/commit/71d9da80a0e48a56f8d2394aecb0383a5f2a0cc6))

* TrainingSAE should: 1) respect device override and 2) not default to float32 dtype, and instead default to the SAE&39;s dtype ([`a4a1c46`](https://github.com/jbloomAus/SAELens/commit/a4a1c469fff7e3b0685ced4c0632808fc3690359))

* load_from_pretrained should not require a dtype nor default to float32 ([`a485dc0`](https://github.com/jbloomAus/SAELens/commit/a485dc00d45bd3a69add64ccdf0cb5697d8b77ad))

* Fix SAE failing to upload to wandb due to artifact name. (224)

* Fix SAE artifact name.

* format

---------

Co-authored-by: Joseph Bloom <jbloomausgmail.com> ([`6ae4849`](https://github.com/jbloomAus/SAELens/commit/6ae4849bb1947b6c83fd438b9dd00a8172f1f4b8))

3.12.0

Feature

* feat: use TransformerLens 2 (214)

* Updated pyproject.toml to use TL ^2.0, and to use fork of sae-vis that also uses TL ^2.0

* Removed reliance on sae-vis

* Removed neuronpedia tutorial

* Added error handling for view operation

* Corrected formatting ([`526e736`](https://github.com/jbloomAus/SAELens/commit/526e736b937f95333969c33c83d2500dacab43d7))

Unknown

* Fix/allow device override (221)

* Forced load_from_pretrained to respect device and dtype params

* Removed test file ([`697dd5f`](https://github.com/jbloomAus/SAELens/commit/697dd5f0911d145d6a7c956e29bbcf28cf9fee38))

* Fixed hooks for single head SAEs (219)

* included zero-ablation-hook for single-head SAEs

* fixed a typo in single_head_replacement_hook ([`3bb4f73`](https://github.com/jbloomAus/SAELens/commit/3bb4f73933984278bd4fb0446ead630f6edad600))

3.11.2

Fix

* fix: rename encode_fn to encode and encode to encode_standard (218) ([`8c09ec1`](https://github.com/jbloomAus/SAELens/commit/8c09ec1ff29bf3212a43b6d65cf5c88c5c318994))

3.11.1

Fix

* fix: avoid bfloat16 errors in training gated saes (217) ([`1e48f86`](https://github.com/jbloomAus/SAELens/commit/1e48f8668537d6b20067cc5862b9805ece5e2a70))

Unknown

* Update README.md ([`9adba61`](https://github.com/jbloomAus/SAELens/commit/9adba61b03bb90583bea64902bc900091992b0b4))

* Update deploy_docs.yml

Modified this file to install dependencies (using caching for efficiency). ([`e90d5c1`](https://github.com/jbloomAus/SAELens/commit/e90d5c195b02bd450bd7335b83bfb952a58fa29d))

* Adding type hint ([`5da6a13`](https://github.com/jbloomAus/SAELens/commit/5da6a13df27678d59e0d233b51dbf8758e190e34))

* Actually doing merge ([`c362e81`](https://github.com/jbloomAus/SAELens/commit/c362e813b56c4cc9c5045a79236f8287d23ae53f))

* Merge remote-tracking branch &39;upstream/main&39; into Evals ([`52780c0`](https://github.com/jbloomAus/SAELens/commit/52780c08fa116667f77d22ec3a63a4ead9c47348))

* Making changes in response to comments ([`cf4ebcd`](https://github.com/jbloomAus/SAELens/commit/cf4ebcdfe93d96270da2ed108f37a5c8d9d97c75))

3.11.0

Feature

* feat: make pretrained sae directory docs page (213)

* make pretrained sae directory docs page

* type issue weirdness

* type issue weirdness ([`b8a99ab`](https://github.com/jbloomAus/SAELens/commit/b8a99ab4dfe8f7790a3b15f41e351fbc3b82f1ab))

3.10.0

Feature

* feat: make activations_store re start the dataset when it runs out (207)

* make activations_store re start the dataset when it runs out

* remove misleading comments

* allow StopIteration to bubble up where appropriate

* add test to ensure that stopiteration is raised

* formatting

* more formatting

* format tweak so we can re-try ci

* add deps back ([`91f4850`](https://github.com/jbloomAus/SAELens/commit/91f48502c39cd573d5f28aba2f3295c7694112e6))

* feat: allow models to be passed in as overrides (210) ([`dd95996`](https://github.com/jbloomAus/SAELens/commit/dd95996efaa46c779b85ead9e52a8342869cfc24))

Fix

* fix: Activation store factor unscaling fold fix (212)

* add unscaling to evals

* fix act norm unscaling missing

* improved variance explained, still off for that prompt

* format

* why suddenly a typingerror and only in CI? ([`1db84b5`](https://github.com/jbloomAus/SAELens/commit/1db84b5ca4ab82fae9edbe98c1e9a563ed1eb3c9))

Page 6 of 14

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.