You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow users to perform feature attributions on the target prefix. The behavior is controlled by a new attribute_target: bool = False parameter passed to the AttributionModel.attribute method.
馃攬 Motivation
Attributing only on the source is reductive, since the influence of the target prefix is fundamental in determining the outcome of the next generation step in many occasions (e.g. a prefix Ladies and will strongly bias the next token towards Gentlemen, regardless of the source sequence).
The text was updated successfully, but these errors were encountered:
馃殌 Feature Request
Allow users to perform feature attributions on the target prefix. The behavior is controlled by a new
attribute_target: bool = False
parameter passed to theAttributionModel.attribute
method.馃攬 Motivation
Attributing only on the source is reductive, since the influence of the target prefix is fundamental in determining the outcome of the next generation step in many occasions (e.g. a prefix
Ladies and
will strongly bias the next token towardsGentlemen
, regardless of the source sequence).The text was updated successfully, but these errors were encountered: