Skip to content

Fix: sae input is collected instead of sae latent #131

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions delphi/sparse_coders/sparse_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from delphi.config import RunConfig

from .custom.gemmascope import load_gemma_autoencoders
from .custom.gemmascope import load_gemma_autoencoders, load_gemma_hooks
from .load_sparsify import (
PotentiallyWrappedSparseCoder,
load_sparsify_hooks,
Expand Down Expand Up @@ -58,7 +58,7 @@ def load_hooks_sparse_coders(
sae_sizes.append(sae_size)
l0s.append(l0)

hookpoint_to_sparse_encode = load_gemma_autoencoders(
hookpoint_to_sparse_encode = load_gemma_hooks(
model_path=model_path,
ae_layers=layers,
average_l0s=l0s,
Expand Down