Skip to content

[captum] Add additional gradient-based attribution methods to LLM Attribution #1337

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

Closed
wants to merge 8 commits into from

Conversation

craymichael
Copy link
Contributor

Summary:
Add LayerGradientXActivation and LayerGradientShap to the supported gradient-based LLM attribution methods.

Test Plan:
pytest tests/attr -k TestLLMGradAttr with new test cases via parameterized library

Reviewers: #captum

…ribution

Summary:
Add `LayerGradientXActivation` and `LayerGradientShap` to the supported gradient-based LLM attribution methods.

Test Plan:
`pytest tests/attr -k TestLLMGradAttr` with new test cases via parameterized library

Reviewers: #captum,
…ribution

Summary:
Add `LayerGradientXActivation` and `LayerGradientShap` to the supported gradient-based LLM attribution methods.

Test Plan:
`pytest tests/attr -k TestLLMGradAttr` with new test cases via parameterized library

Reviewers: #captum,
…ribution

Summary:
Add `LayerGradientXActivation` and `LayerGradientShap` to the supported gradient-based LLM attribution methods.

Test Plan:
`pytest tests/attr -k TestLLMGradAttr` with new test cases via parameterized library

Reviewers: #captum,
…ribution

Summary:
Add `LayerGradientXActivation` and `LayerGradientShap` to the supported gradient-based LLM attribution methods.

Test Plan:
`pytest tests/attr -k TestLLMGradAttr` with new test cases via parameterized library

Reviewers: #captum,
…ribution

Summary:
Add `LayerGradientXActivation` and `LayerGradientShap` to the supported gradient-based LLM attribution methods.

Test Plan:
`pytest tests/attr -k TestLLMGradAttr` with new test cases via parameterized library

Reviewers: #captum,
…ribution

Summary:
Add `LayerGradientXActivation` and `LayerGradientShap` to the supported gradient-based LLM attribution methods.

Test Plan:
`pytest tests/attr -k TestLLMGradAttr` with new test cases via parameterized library

Reviewers: #captum,
@facebook-github-bot
Copy link
Contributor

@craymichael has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

1 similar comment
@facebook-github-bot
Copy link
Contributor

@craymichael has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

craymichael and others added 2 commits September 8, 2024 21:04
…ribution

Summary:
Add `LayerGradientXActivation` and `LayerGradientShap` to the supported gradient-based LLM attribution methods.

Test Plan:
`pytest tests/attr -k TestLLMGradAttr` with new test cases via parameterized library

Reviewers: #captum,
@facebook-github-bot
Copy link
Contributor

@craymichael has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@craymichael merged this pull request in d8ceaa8.

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

Successfully merging this pull request may close these issues.

2 participants