Downloads · 30 days
31
27% of all-time downloads
aasatorres/esm2-sae-topk-16384-k512
esm2-sae-topk-16384-k512 is a machine learning model from aasatorres. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as cc-by-4.0.
Sparse Autoencoder (SAE) trained on residue-level embeddings from ESM-2 (650M, layer 33) for interpretability research on protein language models.
Downloads · 30 days
31
27% of all-time downloads
All-time downloads
114
Public
Repo size
504 MB
Likes
2
Public
Click a slice to open those files.
.pt504 MB · 100%
From the Hugging Face model README
Sparse Autoencoder (SAE) trained on residue-level embeddings from ESM-2 (650M, layer 33) for interpretability research on protein language models.
| Parameter | Value |
|---|---|
| Architecture | TopK SAE |
| Input dim | 1280 (ESM-2 layer 33) |
| Latent dim | 16384 |
| TopK k | 512 |
| Training proteins | 50,000 Swiss-Prot |
| ESM-2 model | facebook/esm2_t33_650M_UR50D |
best.pt: model weights (PyTorch)config.json: architecture config and input normalization statistics (emb_mean, emb_std)metrics.csv: training and validation metrics per epochimport torch, json
from pathlib import Path
config = json.load(open("config.json"))
checkpoint = torch.load("best.pt", map_location="cpu")
# checkpoint["model_state_dict"] contains the SAE weights