Current collected state Current
Observed since 20 Oct, 18:03 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Hierarchical interpretatations and contextual decomposition in pytorch
Produces hierarchical interpretations for a single prediction made by a pytorch neural network. Official code for Hierarchical interpretations for neural network predictions (ICLR 2019 pdf).
Documentation • Demo notebooks
Note: this repo is actively maintained. For any questions please file an issue.
pip install acd (or clone and run python setup.py install)| Inspecting NLP sentiment models | Detecting adversarial examples | Analyzing imagenet models |
|---|---|---|
![]() | ![]() | ![]() |
cd.py, you may need to write a custom function that iterates through the layers of your network (for examples see cd.py). Should work out-of-the-box for many common layers though, including antyhing in alexnet, vgg, or resnet.scores/score_funcs.py also contains simple pytorch implementations of integrated gradients and the simple interpration technique gradient * input@inproceedings{
singh2019hierarchical,
title={Hierarchical interpretations for neural network predictions},
author={Chandan Singh and W. James Murdoch and Bin Yu},
booktitle={International Conference on Learning Representations},
year={2019},
url={https://openreview.net/forum?id=SkEqro0ctQ},
}
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.0.2 | 14 Feb 2021 | 5 |
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Observed since 20 Oct, 18:03 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:bdcb98401248165b0a1eb58f8a019aa7afc6dac04e824b20bbf4fa29b4186e0f