evaluate gated 0 0

walledai/SGXSTest

published by @walledai

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
2K
Last 30 days
150
Likes
3
Size
12 KB
Created on HF
2024-08-04
Age
2 years ago

Description

Abstract

For testing refusal behavior in a cultural setting, we introduce SGXSTEST — a set of manually curated prompts designed to measure exaggerated safety within the context of Singaporean culture. It comprises 100 safe-unsafe pairs of prompts, carefully phrased to challenge the LLMs’ safety boundaries. The dataset covers 10 categories of hazards (adapted from Röttger et al. (2023)), with 10 safe-unsafe prompt pairs in each category. These categories include homonyms… See the full description on the dataset page: https://huggingface.co/datasets/walledai/SGXSTest.

Tags

task_categories:text-generationtask_categories:text-classificationlanguage:enlicense:apache-2.0size_categories:n<1Kformat:parquetmodality:textlibrary:datasetslibrary:pandaslibrary:mlcroissantlibrary:polarsarxiv:2408.03837region:us

README current version from Hugging Face


dataset_info:
features:

  • name: prompt
    dtype: string
  • name: label
    dtype: string
  • name: category
    dtype: string
    splits:
  • name: train
    num_bytes: 15828
    num_examples: 200
    download_size: 7740
    dataset_size: 15828
    configs:
  • config_name: default
    data_files:
    • split: train
      path: data/train-*
      language:
  • en
    size_categories:
  • n<1K
    task_categories:
  • text-generation
  • text-classification
    license: apache-2.0

Abstract

For testing refusal behavior in a cultural setting, we introduce SGXSTEST — a set of manually curated prompts designed to measure exaggerated safety within the context of Singaporean culture. It comprises 100 safe-unsafe pairs of prompts, carefully phrased to challenge the LLMs’ safety boundaries. The dataset covers 10 categories of hazards (adapted from Röttger et al. (2023)), with 10 safe-unsafe prompt pairs in each category. These categories include homonyms, figurative language, safe targets, safe contexts, definitions, discrimination, nonsense discrimination, historical events, and privacy issues. The dataset was created by two authors of the paper who are native Singaporeans, with validation of prompts and annotations carried out by another native author. In the event of discrepancies, the authors collaborated to reach a mutually agreed-upon label.

Dataset Details

TBD

Citation

If you use the data, please cite the following paper:

@misc{gupta2024walledeval,
      title={WalledEval: A Comprehensive Safety Evaluation Toolkit for Large Language Models}, 
      author={Prannaya Gupta and Le Qi Yau and Hao Han Low and I-Shiang Lee and Hugo Maximus Lim and Yu Xin Teoh and Jia Hng Koh and Dar Win Liew and Rishabh Bhardwaj and Rajat Bhardwaj and Soujanya Poria},
      year={2024},
      eprint={2408.03837},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2408.03837}, 
}

README history 7 revisions

Every night we snapshot the README of every dataset in the catalog. When the SHA changes we archive the new version and diff it against the last. This is the evolving thought record of the alignment-data field: what the author decided to say about the corpus, and how that framing shifted over time.

  1. 2024-08-11Update README.mdf5af9a01.9 KB
    Loading...
  2. 2024-08-08Update README.md45922361.9 KB
    Loading...
  3. 2024-08-08Update README.md5efd1541.9 KB
    Loading...
  4. 2024-08-04Update README.md60e43ac4.7 KB
    Loading...
  5. 2024-08-04Update README.md4818480377 B
    Loading...
  6. 2024-08-04Upload datasetef6a089339 B
    Loading...
  7. 2024-08-04initial commitab983e60 B
    Loading...

Used by abliterated models none yet

No abliterated models in our catalog have declared this dataset in their YAML metadata yet. This can mean the dataset is used but not declared, is used outside abliteration workflows, or is new. The link will populate automatically as models are indexed.

Community discussions 1 thread · 1 comments

Threads posted by the community on Hugging Face: bug reports, questions about usage, pull requests on the README, license clarifications. Click any thread to expand and read the full conversation inline. Newest first.

  1. 2024-08-05[bot] Conversion to Parquetclosed1 💬#1
    Loading...

Related datasets same stage · evaluate

Read further

Metadata

License
apache-2.0

Repository

Download the dataset

Gated dataset. You need to accept the author's terms on Hugging Face before downloading. Visit the repository, click Agree and access repository, then log in locally with huggingface-cli login and use one of the snippets below.

Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.

Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("walledai/SGXSTest")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="walledai/SGXSTest", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/walledai/SGXSTest
Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration