lipichandrakar/Prompt-Framing-Bias-LLM
๐ง Prompt Framing and Socio-Demographic Bias in LLMs Dataset by: Lipi ChandrakarMSc Data Science and Analytics, University of Hertfordshire (2025) ๐ Associated Paper More Responses, More Harm: How Prompt Framing and Decoding Choices Shape Socio-Demographic Bias in Open-Source LLMs๐ https://doi.org/10.5281/zenodo.20169051 If you use this dataset please cite:Chandrakar, L. (2025). More Responses, More Harm. Zenodo. https://doi.org/10.5281/zenodo.20169051โฆ See the full description on the dataset page: https://huggingface.co/datasets/lipichandrakar/Prompt-Framing-Bias-LLM.
๐ง Prompt Framing and Socio-Demographic Bias in LLMs
Dataset by: Lipi Chandrakar MSc Data Science and Analytics, University of Hertfordshire (2025)
๐ Associated Paper
More Responses, More Harm: How Prompt Framing and Decoding Choices Shape Socio-Demographic Bias in Open-Source LLMs ๐ https://doi.org/10.5281/zenodo.20169051
If you use this dataset please cite: Chandrakar, L. (2025). More Responses, More Harm. Zenodo. https://doi.org/10.5281/zenodo.20169051
๐ Overview
This dataset investigates how prompt framing and decoding strategy influence socio-demographic bias in LLM outputs. It contains ~5,000 annotated prompt-response pairs with toxicity, offensiveness, and identity bias scores across five demographic categories.
Key finding: naive multi-sampling (k=3) amplifies bias rather than reducing it โ race-related scores increased tenfold compared to single-output generation.
๐ Dataset Structure
๐ Files Included
๐งฉ Usage
from datasets import load_dataset
dataset = loaddataset( "lipichandrakar/Prompt-Framing-Bias-LLM" ) df = dataset["train"].topandas()
๐ Categories Covered
- Race
- Religion
- Gender
- Age
- Profession
๐ค Models Used
- GPT-2 (Radford et al., 2019)
- Qwen-3B (Bai et al., 2023)
โ๏ธ License
CC BY 4.0 โ free to use with attribution
