Uncovered and meticulously analyzed three distinct biases present in ChatGPT, employing advanced Python techniques and data analysis methodologies, all within AI4ALL's cutting-edge AI4ALL Ignite accelerator.
Given the substantial daily output of responses, the identification and mitigation of ChatGPT's biases become critical, safeguarding both the multitude of users and the far-reaching consequences they may influence.
- Recorded over 1,000 unique prompts and their responses generated by ChatGPT
- Identified three biases in ChatGPT's responses
- When prompted about this world event
- When prompted about this field of science
- When prompted about this political party
To accomplish this, we utilized the OpenAI API to interact with ChatGPT, and we designed a custom Python script to generate diverse prompts and collect corresponding responses. The data was then processed and analyzed using pandas, enabling us to detect patterns and biases in the AI model's outputs. Engineered a Python script to generate over 1,000 prompts and elicit their responses from ChatGPT, utilizing pandas to collect the data. When prompted for solutions to this specific relevant crisis, nearly 80% of ChatGPT's responses promoted a certain worldview.
Kaggle Dataset: chatgpt_data
- Python
- pandas
- OpenAI API
This project was completed in collaboration with:
- John Doe (john.doe@example.com)
- Jane Smith (jane.smith@example.com)