Datasets:
|
Download README.md from mremila/beavertails_with_refusals: direct link, hf CLI and curl.
- Browser
- Download file 1.84 kB
-
https://huggingface.co/datasets/mremila/beavertails_with_refusals/resolve/main/README.md
- Command line
-
hf download hf://datasets/mremila/beavertails_with_refusals/README.md
-
curl -L -o README.md https://huggingface.co/datasets/mremila/beavertails_with_refusals/resolve/main/README.md
1.84 kB
| 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](https://github.com/domenicrosati/representation-noising/blob/main/data/beavertails_with_refusals_train.json) | |
| and mirrored as [anonymous4486/repnoise_beavertail](https://huggingface.co/datasets/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](https://huggingface.co/datasets/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. | |