SHAP implementation for multimodal large language models supporting audio and text input.
Project description
✨ 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 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.md - experiment runner integration:
../experiments/mllm_shapx/README.md - GUI companion for visualization: shap-mllm-explainer
📄 License
MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mllm_shap-0.1.10.tar.gz
(74.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
mllm_shap-0.1.10-py3-none-any.whl
(108.3 kB
view details)
File details
Details for the file mllm_shap-0.1.10.tar.gz.
File metadata
- Download URL: mllm_shap-0.1.10.tar.gz
- Upload date:
- Size: 74.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80d681dd021ccdadf07107459de2e881bd04274b7c56bfa581ea07e548e6fa61
|
|
| MD5 |
cd9da9030f7968f81de8593ddaf6b6f2
|
|
| BLAKE2b-256 |
ebca4a9ce37a91adc8dd59015f884eca6c1a84bfd846dc19d339acd3c4b70ea2
|
File details
Details for the file mllm_shap-0.1.10-py3-none-any.whl.
File metadata
- Download URL: mllm_shap-0.1.10-py3-none-any.whl
- Upload date:
- Size: 108.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa999e44e8aa63a692f1c55b4bbfc7a804e42371abfd3dc99d235b70c95a42e2
|
|
| MD5 |
07d2022ce156e9caccd862dfa4cbd1a4
|
|
| BLAKE2b-256 |
202079bbf701a747e2bcc02092c33536c230906d675b2fd454f18cfe0ce13bd2
|