captum
captum copied to clipboard
Attribution API refactor: Introduce an optional agg/element-wise variance to LLM attribution results
Summary: As title. It is possible for attr to be computed as an estimated amount over multiple samples of the response, so the estimate has variance. This adds an attribute to store this variance in the results, if we have it.
Differential Revision: D84970183
@craymichael has exported this pull request. If you are a Meta employee, you can view the originating Diff in D84970183.