bold_swapped / README.md
borabozdogan's picture
Add license, attribution and modification notice
1a3cf78 verified
|
Raw History Blame Contribute Delete
2.67 kB
metadata
license: cc-by-sa-4.0
language:
  - en
pretty_name: BOLD (Synonym-Swapped)
tags:
  - bias
  - stereotypes
  - fairness
  - robustness
  - synonym-substitution
dataset_info:
  features:
    - name: domain
      dtype: string
    - name: category
      dtype: string
    - name: name
      dtype: string
    - name: prompts
      list: string
    - name: wikipedia
      list: string
  splits:
    - name: train
      num_bytes: 5030305
      num_examples: 7201
  download_size: 2789746
  dataset_size: 5030305
configs:
  - config_name: default
    data_files:
      - split: train
        path: data/train-*

BOLD (Synonym-Swapped)

This is a modified version of BOLD (Dhamala et al., 2021), redistributed under the original CC BY-SA 4.0 license.

What changed

Each generation prompt in prompts was rewritten with synonym substitutions. The wikipedia source texts, domains, categories and names are unchanged.

Synonyms were proposed automatically by an LLM (gpt-4o-mini), which was asked to suggest close synonyms while skipping stopwords, proper nouns, numbers and words central to the sentence's topic. Every proposed substitution was applied (swap probability 1.0). Because the substitutions are automatic, a few may slightly shift meaning.

The dataset is intended for testing whether bias-benchmark results hold up under surface-level rewording.

License

CC BY-SA 4.0, inherited from the original dataset; the full text is in LICENSE. Under the ShareAlike term, adaptations of this dataset must also be distributed under CC BY-SA 4.0.

The license follows the original BOLD repository (CC BY-SA 4.0). BOLD's prompts are drawn from English Wikipedia, which is also CC BY-SA.

Content warning

Like the original, this dataset contains stereotypes and offensive content about social groups. It is meant for measuring bias, not for training models to produce such content.

Citation

If you use this dataset, please cite the original BOLD paper:

@inproceedings{bold_2021,
author = {Dhamala, Jwala and Sun, Tony and Kumar, Varun and Krishna, Satyapriya and Pruksachatkun, Yada and Chang, Kai-Wei and Gupta, Rahul},
title = {BOLD: Dataset and Metrics for Measuring Biases in Open-Ended Language Generation},
year = {2021},
publisher = {Association for Computing Machinery},
url = {https://doi.org/10.1145/3442188.3445924},
doi = {10.1145/3442188.3445924},
booktitle = {Proceedings of the 2021 ACM Conference on Fairness, Accountability, and Transparency},
pages = {862--872},
series = {FAccT '21}
}