DetoxAI documentation

Welcome to the documentation for DetoxAI!

DetoxAI is a Python package for debiasing neural networks. It provides a simple and efficient way to remove bias from your models while maintaining their performance. The package is designed to be easy to use and integrate into existing projects.

We hosted a website with a demo and an overview of the package, which can be found at https://detoxai.github.io. DetoxAI is also available on GitHub at https://github.com/DetoxAI/detoxai.

Getting Started

DetoxAI is available on PyPI, and can be installed by running the following command:

pip install detoxai

Then, import the library and debias your model using the api:

import detoxai

model = ... # your torch model
dataloader = ... # your torch dataloader returning (image, label, prot. attr) tuples
results = detoxai.debias(model, dataloader)

To get started with DetoxAI, please refer to the following examples:

We have also put together a bunch small tutorials to help you get started with DetoxAI in your own projects:

API Reference

For detailed information on the library’s functions and classes, see the API reference:

API

Contributing

Interested in contributing to DetoxAI? Check out our contribution guidelines on GitHub.

License

DetoxAI is licensed under the MIT License.

Index