Home

Awesome

Interpret

The PyTorch implementation the Smooth Grad and Integrated Gradients for NLP Models.

This repository based on the Allen NLP Interpret Module and describes how to integrate the Hugging Fase's PyTorch Model to it.

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.