Skip to content

Commit 067d624

Browse files
sarahtranfbfacebook-github-bot
authored andcommitted
Update LLM attr tutorial notebook with note on required Captum version
Summary: Got #1486 when I was oncall They ran into this error: > TypeError: ShapleyValues.attribute() got an unexpected keyword argument 'skip_tokens' due to being on a package of Captum where > LLMAttribution.attribute() doesn't have skip_tokens as a parameter, and therefore it's being passed to ShapleyValues.attribute() as part of **kwarg, though ShapleyValues never supported skip_tokens It's not sufficient to be on the latest Captum release (v0.7), atp they need to install from Github Differential Revision: D69566114
1 parent fc9026a commit 067d624

File tree

1 file changed

+606
-606
lines changed

1 file changed

+606
-606
lines changed

tutorials/Llama2_LLM_Attribution.ipynb

+606-606
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)