Skip to content
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

feat: add map_activations_fn param in ConceptMatcher #6

Merged
merged 2 commits into from
Jun 29, 2024

Conversation

chanind
Copy link
Owner

@chanind chanind commented Jun 29, 2024

This PR adds an optional param map_activations_fn which can be used to modify the extracted activations in ConceptMatcher to allow things like SAEs.

@chanind chanind merged commit 1ac957a into main Jun 29, 2024
2 checks passed
@chanind chanind deleted the map-acts-in-concept-matcher branch June 29, 2024 21:23
@chanind
Copy link
Owner Author

chanind commented Jun 29, 2024

huggingface/transformers#31172 this commit breaks the Jacobian calculation in GPT2, not sure why

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant