-
Notifications
You must be signed in to change notification settings - Fork 506
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add additional gradient-based attribution methods to LLM Attribution (#…
…1337) Summary: Add `LayerGradientXActivation` and `LayerGradientShap` to the supported gradient-based LLM attribution methods. Pull Request resolved: #1337 Test Plan: `pytest tests/attr -k TestLLMGradAttr` with new test cases via parameterized library Reviewed By: cyrjano Differential Revision: D62221000 Pulled By: craymichael fbshipit-source-id: fb5f170e13a62355357d46d3ef7a2464e8eb80ab
- Loading branch information
1 parent
d89243b
commit d8ceaa8
Showing
4 changed files
with
121 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters