Fix repo path in loading example, add project page link
Browse files
README.md
CHANGED
|
@@ -10,9 +10,10 @@ tags:
|
|
| 10 |
|
| 11 |
# MMDiff — Multimodal SAE checkpoints
|
| 12 |
|
| 13 |
-
Text-only-masked SAEs trained on the residual streams of
|
| 14 |
-
|
| 15 |
-
[hunarbatra/MMDiff](https://github.com/hunarbatra/MMDiff)
|
|
|
|
| 16 |
|
| 17 |
## Contents
|
| 18 |
|
|
@@ -39,7 +40,10 @@ File: `text-only_layer_{L}.pt` with keys `W_enc (4096×32768)`, `b_enc (32768)`,
|
|
| 39 |
import torch
|
| 40 |
from huggingface_hub import hf_hub_download
|
| 41 |
|
| 42 |
-
p = hf_hub_download(
|
|
|
|
|
|
|
|
|
|
| 43 |
state = torch.load(p, map_location="cpu")
|
| 44 |
```
|
| 45 |
|
|
|
|
| 10 |
|
| 11 |
# MMDiff — Multimodal SAE checkpoints
|
| 12 |
|
| 13 |
+
Text-only-masked SAEs trained on the residual streams of multimodal LLMs, used by the
|
| 14 |
+
**MMDiff** multimodal model-diffing pipeline (code:
|
| 15 |
+
[hunarbatra/MMDiff](https://github.com/hunarbatra/MMDiff), project page:
|
| 16 |
+
[hunarbatra.com/MMDiff](https://hunarbatra.com/MMDiff/)).
|
| 17 |
|
| 18 |
## Contents
|
| 19 |
|
|
|
|
| 40 |
import torch
|
| 41 |
from huggingface_hub import hf_hub_download
|
| 42 |
|
| 43 |
+
p = hf_hub_download(
|
| 44 |
+
"hunarbatra/MMDiff_SAEs",
|
| 45 |
+
"paligemma2/jumprelu_text_only/text-only_layer_13.pt",
|
| 46 |
+
)
|
| 47 |
state = torch.load(p, map_location="cpu")
|
| 48 |
```
|
| 49 |
|