Tutorial for Shapley Value Sampling likely needs update #1486
Open
Description
📚 Documentation
In the tutorials for perturbation based attribution for HuggingFace CasualLMs, in the block 12 that demonstrates how to use SHAP values, the parameter skip_tokens
is being passed:
Running that code gives the error - TypeError: ShapleyValues.attribute() got an unexpected keyword argument 'skip_tokens'
:
Neither the API doc nor the source has the attribute
method has parameter skip_tokens
, likely removed in one of the more current versions of the package.
Thanks for the great package and documentation.
Metadata
Assignees
Labels
No labels