UnBIAS Toolkit Documentation

Welcome to UnBIAS

Explore the forefront of unbiased text analysis with UnBIAS.


UnBIAS is an innovative text analysis and debiasing toolkit, expertly crafted by the Vector Institute to identify and mitigate biases in textual content. Utilizing advanced Transformer models like BERT, RobERTa, and Meta - LLama-2-7B large language models (LLMs). UnBIAS ensures fairness and neutrality in AI-driven text analysis. With its cutting-edge technology, and aligned to our mission, Vector is supporting and developing toolkits like UnBIAS to promote ethical AI practices and fostering a more equitable digital world.

PyPI: https://pypi.org/project/UnBIAS/


  • Advanced Bias Classification: Employs sophisticated algorithms to automatically detect and classify biases in texts, promoting fairness and equality in content analysis.
  • Named Entity Recognition (NER) for Bias Identification: Pinpoints specific biased terms and entities within texts, significantly enhancing content integrity and impartiality.
  • Comprehensive Text Debiasing: Processes and neutralizes biases in texts, ensuring content is free from prejudices related to gender, race, age, or other sensitive attributes.
  • User-Friendly API Integration: Offers an intuitive and straightforward interface, enabling easy integration into a variety of applications without extensive technical knowledge.


UnBIAS can be easily installed using pip. Open your terminal or command prompt and execute the following command:

pip install UnBIAS


Integrate UnBIAS into your projects with ease. For detailed guidelines, refer to our usage documentation.


Experience UnBIAS firsthand with our interactive demos:1

1 Please note: For optimal performance, this demo requires a T4 GPU or better. Availability of specific GPU types may vary in the free version of Google Colab.


The Vector Institute for Artificial Intelligence is committed to leading the transformation of AI research and development, focusing on ethical, equitable, and sustainable solutions. Our vision is to harness the full potential of AI to benefit society and drive positive global change. By fostering collaborative innovation and nurturing top AI talent, we aim to be at the forefront of creating a future where AI is a force for good, enhancing human capabilities and addressing the world's most pressing challenges.


We would like to express our profound gratitude to the Vector Institute for Artificial Intelligence for the invaluable support and resources that have been pivotal in developing this toolkit.

A special thanks to Oluwanifemi Bamgbose, Mizanur Rahman, Brandon Jaipersaud, Shardul Ghuge from the Vector Institute for facilitating the development of this project.