An explanation operation that, based on the pre-computed feature attributions, would retrieve k instances where a custom input span has the highest attribution score. The sorting could be influenced by (1) the rank of the span in sorted attributions and (2) the absolute difference to the next highest attributed word/sentence.
Created from #25
An explanation operation that, based on the pre-computed feature attributions, would retrieve k instances where a custom input span has the highest attribution score. The sorting could be influenced by (1) the rank of the span in sorted attributions and (2) the absolute difference to the next highest attributed word/sentence.
spanimportance topk {k}
prompts/talktomodel