interpretml/interpret-text

A library that incorporates state-of-the-art explainers for text-based machine learning models and visualizes the result with a built-in dashboard.

60
/ 100
Established

Supports multiple explanation techniques including unified information decomposition, introspective rationales, and likelihood-based methods—each with different trade-offs between model support (scikit-learn to PyTorch/HuggingFace/OpenAI) and preprocessing automation. Provides both global (label-level) and local (document-level) explanations with a unified API and Jupyter widget for interactive comparison across explainers. Built as an extension to the Interpret framework, enabling researchers to contribute custom interpretability techniques alongside established methods.

432 stars and 49 monthly downloads. No commits in the last 6 months. Available on PyPI.

Stale 6m
Maintenance 0 / 25
Adoption 14 / 25
Maturity 25 / 25
Community 21 / 25

How are scores calculated?

Stars

432

Forks

68

Language

Python

License

MIT

Last pushed

Feb 05, 2024

Monthly downloads

49

Commits (30d)

0

Dependencies

14

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/nlp/interpretml/interpret-text"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.