extract 0 0 0

harpreetsahota/adversarial-prompts

published by @harpreetsahota

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
1K
Last 30 days
55
Likes
4
Size
6 KB
Created on HF
2023-11-25
Age
2 years ago

Description

Language Model Testing Dataset πŸ“ŠπŸ€–

Introduction 🌐

This repository provides a dataset inspired by the paper "Explore, Establish, Exploit: Red Teaming Language Models from Scratch" It's designed for anyone interested in testing language models (LMs) for biases, toxicity, and misinformation.

Dataset Origin πŸ“

The dataset is based on examples from Tables 7 and 8 of the paper, which illustrate how prompts can elicit not just biased but also toxic or… See the full description on the dataset page: https://huggingface.co/datasets/harpreetsahota/adversarial-prompts.

Tags

size_categories:n<1Kformat:parquetmodality:textlibrary:datasetslibrary:pandaslibrary:mlcroissantlibrary:polarsarxiv:2306.09442region:us

README current version from Hugging Face


dataset_info:
features:

  • name: Prompt
    dtype: string
    splits:
  • name: train
    num_bytes: 2366
    num_examples: 37
    download_size: 2228
    dataset_size: 2366
    configs:
  • config_name: default
    data_files:
    • split: train
      path: data/train-*

Language Model Testing Dataset πŸ“ŠπŸ€–

Introduction 🌐

This repository provides a dataset inspired by the paper "Explore, Establish, Exploit: Red Teaming Language Models from Scratch" It's designed for anyone interested in testing language models (LMs) for biases, toxicity, and misinformation.

Dataset Origin πŸ“

The dataset is based on examples from Tables 7 and 8 of the paper, which illustrate how prompts can elicit not just biased but also toxic or nonsensical responses from LMs.

Toxicity and Untruths 🀬

The prompts here, derived from red-teaming GPT-3-text-davinci-002 with classifiers trained on the CREAK dataset, are intended to elicit responses that can reveal tendencies towards toxicity or untruths.

Nonsense Responses πŸ€ͺ

Similarly, the prompts from Table 8 are structured to test LM responses for nonsensical or toxic content. These were initially used against GPT-3-text-davinci-002 with classifiers trained on ChatGPT-3.5-turbo labels.

Purpose of the Dataset 🎯

This dataset is provided as a tool for researchers and developers to test their own LMs. It's particularly useful for evaluating how different models handle potentially problematic content, whether it's biased, toxic, or factually incorrect.

Using the Dataset πŸ› οΈ

Feel free to use this dataset to assess the response patterns of any LM. It's a valuable resource for identifying areas where LMs might need improvement in handling sensitive or complex content.

Goal πŸŽ–οΈ

The aim is to facilitate broader research into making LMs safer, more reliable, and ethically responsible by providing a ready-to-use dataset for testing and analysis.

README history 3 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. 2023-11-29Update README.mddd4281e1.9 KB
    Loading...
  2. 2023-11-25Upload dataset59ce9c9265 B
    Loading...
  3. 2023-11-25initial commiteae1f8d0 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 open Β· 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. 2023-11-26[bot] Conversion to Parquetopen1 πŸ’¬#1
    Loading...

Related datasets same stage Β· extract

Read further

Repository

Download the dataset

0

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("harpreetsahota/adversarial-prompts")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="harpreetsahota/adversarial-prompts", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/harpreetsahota/adversarial-prompts
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