qtnx commited on
Commit
3d30302
·
verified ·
1 Parent(s): 0ff8291

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +58 -0
README.md ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - en
5
+ tags:
6
+ - mechanistic interpretability
7
+ - sparse autoencoder
8
+ - llama
9
+ - llama-3
10
+ ---
11
+
12
+ ## Model Information
13
+
14
+ A SAE (Sparse Autoencoder) for [deepseek-ai/DeepSeek-R1-Distill-Llama-70B](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Llama-70B).
15
+
16
+ It is trained specifically on layer 48 of DeepSeek-R1-Distill-Llama-8B and achieves a final L0 of 36.
17
+
18
+ This model is used to decompose Llama's activations into interpretable features.
19
+
20
+ The SAE weights are released under Apache, however DeepSeek-R1-Distill-Llama-70B is to be used under Meta's Llama 3 License.
21
+
22
+ ## How to use
23
+
24
+ A Jupyter Notebook is provided to test the model
25
+
26
+ <a target="_blank" href="https://colab.research.google.com/github/qrsch/SAE/blob/main/SAE.ipynb">
27
+ <img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab", width="200px"/>
28
+ </a>
29
+
30
+ ## Training
31
+
32
+ Our SAE was trained using [LMSYS-Chat-1M dataset](https://arxiv.org/pdf/2309.11998) as well as [PrimeIntellect/NuminaMath-QwQ-CoT-5M](https://huggingface.co/datasets/PrimeIntellect/NuminaMath-QwQ-CoT-5M).
33
+
34
+ ## Acknowledgements
35
+
36
+ This release wouldn't have been possible without the work of [Goodfire](https://www.goodfire.ai/) and [Anthropic](https://transformer-circuits.pub/)
37
+
38
+ A huge thank goes to [runpod](https://www.runpod.io/), who generously sponsored the compute for this run!
39
+
40
+
41
+
42
+ ```
43
+ .x+=:.
44
+ z` ^% .uef^"
45
+ .u . . <k .u . :d88E
46
+ .u@u .d88B :@8c .u .@8Ned8" .u u .d88B :@8c . `888E
47
+ .zWF8888bx ="8888f8888r ud8888. .@^%8888" ud8888. us888u. ="8888f8888r .udR88N 888E .z8k
48
+ .888 9888 4888>'88" :888'8888. x88: `)8b. :888'8888. .@88 "8888" 4888>'88" <888'888k 888E~?888L
49
+ I888 9888 4888> ' d888 '88%" 8888N=*8888 d888 '88%" 9888 9888 4888> ' 9888 'Y" 888E 888E
50
+ I888 9888 4888> 8888.+" %8" R88 8888.+" 9888 9888 4888> 9888 888E 888E
51
+ I888 9888 .d888L .+ 8888L @8Wou 9% 8888L 9888 9888 .d888L .+ 9888 888E 888E
52
+ `888Nx?888 ^"8888*" '8888c. .+ .888888P` '8888c. .+ 9888 9888 ^"8888*" ?8888u../ 888E 888E
53
+ "88" '888 "Y" "88888% ` ^"F "88888% "888*""888" "Y" "8888P' m888N= 888>
54
+ 88E "YP' "YP' ^Y" ^Y' "P' `Y" 888
55
+ 98> J88"
56
+ '8 @%
57
+ ` :"
58
+ ```