captum icon indicating copy to clipboard operation
captum copied to clipboard

Attribution API refactor: Base LLMAttributionResult class + refactor

Open craymichael opened this issue 1 month ago • 1 comments

Summary: Refactor LLMAttributionResult into an abstract base object that is generic. Create LLMAttributionResult as a concrete child with aliases for captum.attr API supporting legacy use. Changes support the refactor and enable more generalized use beyond logprob-based attribution.

Differential Revision: D84721127

craymichael avatar Oct 25 '25 23:10 craymichael

@craymichael has exported this pull request. If you are a Meta employee, you can view the originating Diff in D84721127.

meta-codesync[bot] avatar Oct 25 '25 23:10 meta-codesync[bot]