NLP, Interpretability, Machine Learning, Pytorch, Captum.
interpretability part using Captum. The code to try this out on your own in Colab notebook or GitHub is available at the end of the post. First, we will build a classic sentiment analysis model using product reviews. The data: We will base our approach on a dataset of reviews, written in English