Interpret
The PyTorch implementation the Smooth Grad and Integrated Gradients for NLP Models.
This repository based on the Allen NLP Interpret Module but for HuggingFace.
The example of the output:
Integrate your own task-specific model
To integrate your model simply override the forward_step and update_output methods of base class SaliencyInterpreter.