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

Support module-wise influence computations #99

Merged
merged 7 commits into from
Apr 22, 2024
Merged

Conversation

sangkeun00
Copy link
Collaborator

For more detailed influence analysis, one may want to look into the influence score of each module (or a group of modules). Users can specify their own computation groups as below

influence_groups = ["att", "mlp"]
run.influence.compute_influence_all(..., influence_groups=influence_groups)
run.influence.compute_influence(..., influence_groups=influence_groups)
run.influence.compute_self_influence(..., influence_groups=influence_groups)

@sangkeun00 sangkeun00 merged commit 4410152 into main Apr 22, 2024
2 checks passed
@sangkeun00 sangkeun00 deleted the clean_influence branch May 21, 2024 01:02
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