Add pipeline tag and improve model card
#1
by nielsr HF Staff - opened
README.md
CHANGED
|
@@ -1,10 +1,15 @@
|
|
| 1 |
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
language:
|
| 4 |
- en
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
---
|
| 6 |
|
| 7 |
-
|
| 8 |
# π§© Model Weights for *Towards Atoms of Large Language Models*
|
| 9 |
|
| 10 |
[](https://arxiv.org/abs/2509.20784) [](https://github.com/ChenhuiHu/towards_atoms) [](https://huggingface.co/Ericccccc/towards_atoms)
|
|
@@ -13,10 +18,22 @@ This repository contains the model weights associated with the paper:
|
|
| 13 |
|
| 14 |
π [***Towards Atoms of Large Language Models***](https://arxiv.org/abs/2509.20784)
|
| 15 |
|
| 16 |
-
Specifically, it provides the weights of threshold-activated sparse autoencoders (
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
-
|
|
|
|
| 19 |
|
| 20 |
-
|
| 21 |
|
| 22 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
|
|
|
| 2 |
language:
|
| 3 |
- en
|
| 4 |
+
license: apache-2.0
|
| 5 |
+
pipeline_tag: feature-extraction
|
| 6 |
+
base_model:
|
| 7 |
+
- google/gemma-2-2b
|
| 8 |
+
tags:
|
| 9 |
+
- mechanistic-interpretability
|
| 10 |
+
- sparse-autoencoder
|
| 11 |
---
|
| 12 |
|
|
|
|
| 13 |
# π§© Model Weights for *Towards Atoms of Large Language Models*
|
| 14 |
|
| 15 |
[](https://arxiv.org/abs/2509.20784) [](https://github.com/ChenhuiHu/towards_atoms) [](https://huggingface.co/Ericccccc/towards_atoms)
|
|
|
|
| 18 |
|
| 19 |
π [***Towards Atoms of Large Language Models***](https://arxiv.org/abs/2509.20784)
|
| 20 |
|
| 21 |
+
Specifically, it provides the weights of threshold-activated sparse autoencoders (TSAEs) trained on activations across layers of [Gemma 2 2B](https://huggingface.co/google/gemma-2-2b), using the CounterFact dataset.
|
| 22 |
+
|
| 23 |
+
## Description
|
| 24 |
+
The paper introduces **Atom Theory** to define and identify the fundamental representational units (FRUs) of large language models, termed **atoms**. Using threshold-activated sparse autoencoders (TSAEs) and a non-Euclidean metric called the atomic inner product (AIP), the authors identify units with near-perfect faithfulness and stability across layers of Gemma2.
|
| 25 |
|
| 26 |
+
## Usage
|
| 27 |
+
Note that only the model weights are included in this repository. For the complete implementation, including training scripts, data preprocessing, and evaluation pipelines, please refer to the main codebase:
|
| 28 |
|
| 29 |
+
π [https://github.com/ChenhuiHu/towards_atoms](https://github.com/ChenhuiHu/towards_atoms)
|
| 30 |
|
| 31 |
+
## Citation
|
| 32 |
+
```bibtex
|
| 33 |
+
@article{hu2025towards,
|
| 34 |
+
title={Towards Atoms of Large Language Models},
|
| 35 |
+
author={Hu, Chenhui and Cao, Pengfei and Chen, Yubo and Liu, Kang and Zhao, Jun},
|
| 36 |
+
journal={arXiv preprint arXiv:2509.20784},
|
| 37 |
+
year={2025}
|
| 38 |
+
}
|
| 39 |
+
```
|