โจ Product Highlights#
exact and approximate SHAP explainers under single API surface
text/audio-ready connector model with typed abstractions
configurable normalizers, reducers, similarity backends
package-level test and docs structure for stable iteration
๐ Package Snapshot#
Main modules:
connectors,shap,utilsExplainability modes: precise + Monte Carlo families + advanced variants
Target runtime: Python 3.12
๐พ Installation#
Install from PyPI:
pip install mllm-shap
Install from source:
git clone https://github.com/Pawlo77/MLLM-Shap.git
cd MLLM-Shap/mllm_shap
pip install .
๐งฑ Package Layout#
src/mllm_shap/connectors/- model and chat connectorssrc/mllm_shap/shap/- explainers, attribution internals, result objectssrc/mllm_shap/utils/- utility helperstests/- package verification suitedocs/- documentation sources
๐ Usage and Ecosystem#
notebook workflows:
../examples/README.mdexperiment runner integration:
../experiments/mllm_shapx/README.mdGUI companion for visualization: shap-mllm-explainer
๐ License#
MIT License.
Note
New here? Start with ๐ Getting Started for quickest path from install to first attribution run.
๐งญ Documentation Map#
๐ Getting Started - installation and first runnable example
๐งฉ API Reference - generated API module reference
๐งช Experiments Runner - experiment runner documentation
๐ฅ๏ธ Companion GUI - GUI extension notes
๐ฆ Release Notes - version history
๐ References - papers, datasets, and repository links
๐ Additional Notes - implementation and memory notes