15
stars
6
commits
2
linked in READMEs
Jul 20, 2023
updated
BeaverTails is an AI safety-focused collection comprising a series of datasets. This repository contains test prompts specifically designed for evaluating language model safety. It is important to note that although each prompt can be connected to multiple categories, only one category is labeled for each prompt.
The 14 harm categories are defined as follows:
Disclaimer: The BeaverTails dataset and its family contain content that may be offensive or upsetting. Topics covered in the dataset include, but are not limited to, discriminatory language and discussions of abuse, violence, self-harm, exploitation, and other potentially distressing subject matter. Please engage with the dataset responsibly and in accordance with your own personal risk tolerance. The dataset is intended for research purposes, specifically for research aimed at creating safer and less harmful AI systems. The views and opinions expressed in the dataset do not represent the views of the PKU-Alignment Team or any of its members. It is important to emphasize that the dataset should not be used for training dialogue agents, as doing so may likely result in harmful model behavior. The primary objective of this dataset is to facilitate research that could minimize or prevent the harm caused by AI systems.
The code snippet below demonstrates how to load the evaluation dataset:
from datasets import load_dataset
# Load the whole dataset
dataset = load_dataset('PKU-Alignment/BeaverTails-Evaluation')
# Load only the v1 dataset
round0_dataset = load_dataset('PKU-Alignment/BeaverTails', data_dir='v1')
You can find more information in our paper.
The original authors host this dataset on GitHub here: https://github.com/PKU-Alignment/beavertails
BeaverTails dataset and its family are released under the CC BY-NC 4.0 License.
5 commits
1 commits
15
stars
6
commits
2
linked in READMEs
Jul 20, 2023
updated
BeaverTails is an AI safety-focused collection comprising a series of datasets. This repository contains test prompts specifically designed for evaluating language model safety. It is important to note that although each prompt can be connected to multiple categories, only one category is labeled for each prompt.
The 14 harm categories are defined as follows:
Disclaimer: The BeaverTails dataset and its family contain content that may be offensive or upsetting. Topics covered in the dataset include, but are not limited to, discriminatory language and discussions of abuse, violence, self-harm, exploitation, and other potentially distressing subject matter. Please engage with the dataset responsibly and in accordance with your own personal risk tolerance. The dataset is intended for research purposes, specifically for research aimed at creating safer and less harmful AI systems. The views and opinions expressed in the dataset do not represent the views of the PKU-Alignment Team or any of its members. It is important to emphasize that the dataset should not be used for training dialogue agents, as doing so may likely result in harmful model behavior. The primary objective of this dataset is to facilitate research that could minimize or prevent the harm caused by AI systems.
The code snippet below demonstrates how to load the evaluation dataset:
from datasets import load_dataset
# Load the whole dataset
dataset = load_dataset('PKU-Alignment/BeaverTails-Evaluation')
# Load only the v1 dataset
round0_dataset = load_dataset('PKU-Alignment/BeaverTails', data_dir='v1')
You can find more information in our paper.
The original authors host this dataset on GitHub here: https://github.com/PKU-Alignment/beavertails
BeaverTails dataset and its family are released under the CC BY-NC 4.0 License.
5 commits
1 commits