Downloads · 30 days
6
10% of all-time downloads
AKG2/llava-micro-sae-test
llava-micro-sae-test is a machine learning model from AKG2. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
A Sparse Autoencoder trained on CLIP ViT-L/14 patch activations (Layer 23) extracted from llava-hf/llava-1.5-7b-hf.
Downloads · 30 days
6
10% of all-time downloads
All-time downloads
62
Public
Repo size
67.2 MB
Likes
0
Public
Click a slice to open those files.
.pt33.6 MB · 100%
From the Hugging Face model README
A Sparse Autoencoder trained on CLIP ViT-L/14 patch activations (Layer 23)
extracted from llava-hf/llava-1.5-7b-hf.
import torch
import json
# Load config
with open("config.json") as f:
config = json.load(f)
# Recreate and load SAE
sae = SparseAutoencoder(config["input_dim"], config["dict_size"])
sae.load_state_dict(torch.load("micro_sae_1024d.pt"))