Language Interpretability Tool (LIT) is a browser based UI & toolkit for model interpretability .It is an open-source platform for visualization and understanding of NLP models developed by Google Research Team.

LIT supports models like Regression, Classification, seq2seq,language modelling and structured predictions.

It is Framework-agnostic and compatible with TensorFlow, PyTorch, and more.

Components of LIT are portable, and can easily be used in a Jupyter notebook or standalone script.

Image for post
Image for post
Example LIT structure for classification model

Installation/Running LIT

pip install lit-nlp

How to use LIT to analyze different type of Models ?

LIT Basic Components

Upasana Gogna

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store