mremila's picture
Document verified BeaverTails 30k_train provenance
b77b429 verified
|
Raw History Blame Contribute Delete
1.84 kB
metadata
language:
  - en
tags:
  - beavertails
  - safety
  - refusals
configs:
  - config_name: default
    data_files:
      - split: train
        path: beavertails_with_refusals_train.json

BeaverTails with refusals

Normalized version of the paired refusal data distributed by RepNoise and mirrored as anonymous4486/repnoise_beavertail. The source file SHA-256 is c3c92961d834afe3ecbfbfa29e87ca759b90a73498aaf807162328e0ebe8e4ee.

Each row contains prompt, response, refusal, category, and is_safe. The response and refusal columns contain only their respective answer text. The original refusal column included a question-and-answer prefix. This version removes exactly Question: {prompt}\nAnswer: from that column. All other values and the original row order are preserved; no refusals were regenerated. Prompt templates and response separators should be applied by downstream loaders.

Splits

The train split contains all 18,106 original paired rows: 14,030 unsafe rows and 4,076 safe rows. No new train/test split was made. All 18,106 rows were verified to match the prompt, response, category, and is_safe fields of records in PKU-Alignment/BeaverTails's 30k_train split (27,186 total rows). This paired dataset is a subset of that training split. SEAM and RepNoise filter unsafe rows for their harmful/refusal training streams.

Their evaluation data is loaded separately from the 30k_test split of PKU-Alignment/BeaverTails. Their default evaluation loaders select up to 100 unsafe examples. That external test split and paired test refusals are not included here.