#4646th of 126 in Training and fine-tuning
saelens
Python library for training and analysing sparse autoencoders on language models
Watch puts saelens on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.saelens is on your watch list. Its new releases and problems show there.
- Stars
- 1.6k
- License
- MIT
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- Python
1,363 on 6 May 20261,594 on 25 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
SAELens trains sparse autoencoders (SAEs) on model activations and loads pre-trained SAEs for mechanistic interpretability research. It integrates with TransformerLens through SAETransformerBridge and HookedSAETransformer. Any PyTorch model, including Hugging Face Transformers or NNsight, can use an SAE by passing extracted activations to encode() and decode().
Who it is for: Interpretability researchers training or analysing sparse autoencoders
Strengths
- Works with any PyTorch model via encode() and decode(), not only TransformerLens
- Downloads pre-trained SAEs for various models, with a published list
- Colab tutorials cover loading, logit lens, training and synthetic-data benchmarks
- Works with SAE-Vis dashboards and SAEBench benchmarks
Weaknesses
- Research-oriented; no UI or serving layer for production use
- v6 refactor changed training code structure, so older scripts need migration
- Feature dashboards need the separate SAE-Vis library
What it needs
- Needs PyTorch
- Models: TransformerLens, Hugging Face Transformers, NNsight, any PyTorch model
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS
Also in Training and fine-tuning
See all 126| Rank | Project | Score |
|---|---|---|
| #44 | verl-omniRL post-training framework for diffusion and omni-modal models, built on verl | 68 out of 100 |
| #45 | nnunetSelf-configuring U-Net framework for biomedical image segmentation | 67 out of 100 |
| #47 | gymLibrary for evaluating and RL-training agents in verifiable environments | 67 out of 100 |
| #48 | pytorch/ignitePyTorch library for training and evaluating models with engines, events and metrics | 66 out of 100 |
| #49 | gptqmodelPython toolkit for quantizing LLMs with GPTQ, AWQ, EXL3 and more | 66 out of 100 |