pair-code/lit

The Learning Interpretability Tool: Interactively analyze ML models to understand their behavior in an extensible and framework agnostic interface.

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 22 minutes ago
Added to GitGenius on September 18th, 2026
Created on July 28th, 2020
Open Issues & Pull Requests: 137 (+0)
GitHub issues: Enabled
Number of forks: 366
Total Stargazers: 3,667 (+0)
Total Subscribers: 58 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 0.0 hours
Mean response time: 9.2 hours
90th percentile: 36.0 hours
Tracked items: 4

Most active contributors

Sign in to see contributor activity.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 4
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 515 days
Stale 30+ days: 4
Stale 90+ days: 4

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

LIT is a visual, interactive ML model-understanding tool that supports text, image, and tabular data through a browser-based interface.

The tool addresses the challenge of understanding why machine learning models make specific predictions and how they behave across different inputs. It works by providing local explanations through salience maps and prediction visualizations, enabling aggregate analysis via custom metrics and embedding space visualization, and supporting counterfactual generation through manual edits or generator plugins. Users can compare multiple models side-by-side or evaluate a single model across paired examples to identify failure modes, detect adversarial behavior, and uncover undesirable training priors.

LIT suits teams building interpretability into their model development workflow across multiple frameworks. The tool is framework-agnostic, compatible with TensorFlow, PyTorch, and others, and handles diverse model types including classification, regression, span labeling, sequence-to-sequence, and language modeling with multi-head and multi-input support out of the box. It runs as a standalone server or within notebook environments like Colab and Jupyter, making it accessible whether you prefer a dedicated interface or integrated development. The README does not position it against specific alternatives, but emphasizes its extensibility for custom model types and interpretability components.

Development activity shows consistent engagement with documentation and user support infrastructure, including a dedicated mailing list for announcements and comprehensive guides covering setup, usage, and frequently asked questions. The project maintains an active release notes document and provides live demos alongside tutorials, indicating ongoing refinement of both the tool and its accessibility to new users. Code contributions span across the Python API, built-in interpretability components, and the web application, suggesting a balanced approach to backend and frontend development.