Skip to main content

Multimodal explainability tool for NLP based on Shapley value.

Project description

📦 nlp-shap

Multimodal explainability for NLP and multimodal models based on Shapley-style cooperative game theory.

PyPI Python Documentation License

Installation

pip install nlp-shap

From source:

git clone https://github.com/Pawlo77/nlp-shap
cd nlp-shap
make install

Requires Python 3.12 and uv.

Documentation

Full documentation: pawlo77.github.io/nlp-shap

Development

make install
make check

Run make help for other targets.

Examples

End-to-end Jupyter notebooks are in examples/. See examples/README.md for setup and the notebook catalog.

License

Apache License 2.0. See LICENSE.

Copyright 2026 Paweł Pozorski.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nlp_shap-0.1.2.tar.gz (15.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nlp_shap-0.1.2-py3-none-any.whl (25.6 kB view details)

Uploaded Python 3

File details

Details for the file nlp_shap-0.1.2.tar.gz.

File metadata

  • Download URL: nlp_shap-0.1.2.tar.gz
  • Upload date:
  • Size: 15.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","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

Hashes for nlp_shap-0.1.2.tar.gz
Algorithm Hash digest
SHA256 7561ad686d428d66296aba68e2533e32dffe99a64a60c9d41d64447ec0ab35f1
MD5 54eb7533148e6f785b0e85877aa8435c
BLAKE2b-256 0ae1d669e9f1c4862f046566d4e3e915706b154d5884ddc3a5f06e57c8453698

See more details on using hashes here.

File details

Details for the file nlp_shap-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: nlp_shap-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 25.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","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

Hashes for nlp_shap-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 06b7801ed369dabdeee202e7d1f6018f8a4ac3ea0bd82fecce90ec07d6832156
MD5 6fc87cd7e384e45b9aac16fffafd109b
BLAKE2b-256 489ad92336e89014c9ec4f662fa84c4bb05bc1af4fddf4300fc72b73ef081475

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page