Skip to main content

📦 mllm-shap Package

Core engine for multimodal SHAP attribution in text/audio LLM pipelines.

PyPI Python Docs License

✨ 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, utils
  • Explainability 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 connectors
  • src/mllm_shap/shap/ - explainers, attribution internals, result objects
  • src/mllm_shap/utils/ - utility helpers
  • tests/ - package verification suite
  • docs/ - documentation sources

🚀 Usage and Ecosystem

  • notebook workflows: ../examples/README.md
  • experiment runner integration: ../experiments/mllm_shapx/README.md
  • GUI companion for visualization: shap-mllm-explainer

📄 License

Apache License 2.0.

Release files for mllm-shap 0.1.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mllm-shap 0.1.12
File Size Uploaded
mllm_shap-0.1.12.tar.gz 104.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mllm-shap 0.1.12
File Interpreter ABI Platform
mllm_shap-0.1.12-py3-none-any.whl Python 3 none any Details

Total release size: 255.3 kB

Release files / mllm_shap-0.1.12.tar.gz

Download URL mllm_shap-0.1.12.tar.gz
Size 104.8 kB
Tags Source
SHA-256 checksum
How to use checksums
04dbc3d311a2248126a8dea5d244abe27693e0670571c6ba3c14b2f84bf66ee6
BLAKE2b-256 checksum
How to use checksums
d8ec29d8ed0c7163909647934adaadbe78e211a0501ce087ed7b534e6760ad3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / mllm_shap-0.1.12-py3-none-any.whl

Download URL mllm_shap-0.1.12-py3-none-any.whl
Size 150.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3fe901ca56de3a40a350ce8ee5557544cbf39b50eda6f0534d499d3ad64d9f74
BLAKE2b-256 checksum
How to use checksums
3e90bcbf4720b1cf05fb11039356be5c34dde9fa064f47a83ca10b600ed235c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page