abliteration.org
Get the app

Two ways to read this site

Technical mode is the default: exact terms and codes, for engineers, researchers, journalists and companies. Simple mode gives the same facts in plain words, for anyone who wants a model that runs on their own computer. You can switch at any time at the top of the page.

technical
MLX weights for Apple silicon (M1 or later), usually quantized to 4 or 8 bits.
simple
Made for Macs with Apple silicon (M1 or newer), usually compressed to 4 or 8 bits.

LLM-Tuning-Safety/HEx-PHI

published by @LLM-Tuning-Safety

Safety benchmarks, over-refusal tests, and guard-model data.Safety tests and tests for refusing harmless requests.

task_categories:text-generationlanguage:enlicense:othersize_categories:n<1Karxiv:2310.03693arxiv:2307.15043region:usharmfulness +1 more
Lifetime downloads
12.7K
Last 30 days
1.7K
Likes
73
Size
65.8 KB

Description

HEx-PHI: Human-Extended Policy-Oriented Harmful Instruction Benchmark

This dataset contains 330 harmful instructions (30 examples x 11 prohibited categories) for LLM harmfulness evaluation.

In our work "Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!", to comprehensively cover as many harmfulness categories as possible,

we develop this new safety evaluation benchmark directly based on the exhaustive lists of prohibited use cases found in… See the full description on the dataset page: https://huggingface.co/datasets/LLM-Tuning-Safety/HEx-PHI.

Structure 1 config · from the README front matter1 subset, from the author's description

default default
Data files
Category_1_Illegal_Activity category_1.csv
Category_3_Hate_Harass_Violence category_3.csv
Category_4_Malware category_4.csv
Category_5_Physical_Harm category_5.csv
Category_6_Economic_Harm category_6.csv
Category_7_Fraud_Deception category_7.csv
+4 more

Used by uncensored 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.No model in our catalog lists this dataset yet. It may be used without being listed, used for other work, or simply be new. The list fills in by itself as models are added.

MetadataDetails

License
other
Language
en
Created on HFCreated
2023-11-13 · 3 years ago
Size category
n<1K

Related datasets same stage · Evaluatesame step · Testing

Read further

Total size
65.8 KB
Files
13
Formats
csv
Head
83128b4
Last updated on HFLast updated
2024-08-19

Download the dataset

Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.Each of these lines of code downloads the dataset straight from Hugging Face, with your own Hugging Face login.

Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("LLM-Tuning-Safety/HEx-PHI")
Raw snapshot (Python)All files (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="LLM-Tuning-Safety/HEx-PHI", repo_type="dataset")
git clone (requires git-lfs)With git (needs git-lfs)
git clone https://huggingface.co/datasets/LLM-Tuning-Safety/HEx-PHI

Files by folder from our last crawlfrom our last check

top level 13 files 65.8 KB
.gitattributes 2.3 KB file download
category_1.csv 5.3 KB csv download
category_10.csv 5.5 KB csv download
category_11.csv 7.2 KB csv download
category_3.csv 2.6 KB csv download
category_4.csv 4.5 KB csv download
category_5.csv 4.1 KB csv download
category_6.csv 6.5 KB csv download
category_7.csv 6.3 KB csv download
category_8.csv 4.7 KB csv download
category_9.csv 4.9 KB csv download
LICENSE 3.4 KB file download
README.md 8.6 KB md download

READMEAuthor's description current version from Hugging Faceas it is now on Hugging Face

HEx-PHI: Human-Extended Policy-Oriented Harmful Instruction Benchmark

This dataset contains 330 harmful instructions (30 examples x 11 prohibited categories) for LLM harmfulness evaluation.

In our work "Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!", to comprehensively cover as many harmfulness categories as possible,
we develop this new safety evaluation benchmark directly based on the exhaustive lists of prohibited use cases found in Meta’s Llama-2 usage policy and OpenAI’s usage policy.
Specifically, we gather 30 examples of harmful instructions for each of the 11 prohibited use case categories from various sources, including:

For more details, please refer to our project website: http://llm-tuning-safety.github.io.

Revision (Aug 19th, 2024)

🚨 In this revision, we have removed Chile Sexual Abuse Material (CSAM) in our data to avoid negative societal impact. In particular, we:

  • Editted the 29th record in category_1.csv, which was related to CSAM.
  • Removed all 30 harmful instructions from the the 2nd category (Child Abuse Content).

To access the original dataset, please contact the authors.

Dataset Format

The 11 categories of harmful instructions are stored separately in 11 independent files in plain CSV format:

Dataset Usage

With our 11 harmful categories, we hope HEx-PHI can help researchers comprehensively evaluate fine-grained safety risks and harmfulness underlying LLMs.
Practically, one should use HEx-PHI harmful instructions as (part of) input prompts, and inspect👀 whether the responses generated by the LLM satisfy the harmful intentions of the instructions.

👀In our paper, we use GPT-4 as the harmfulness judge to assign each <user instruction, model response> pair a harmfulness score from 1 to 5. Refer to Appendix B for details.

HEx-PHI Dataset License Agreement

This Agreement contains the terms and conditions that govern your access and use of the HEx-PHI Dataset (as defined above). You may not use the HEx-PHI Dataset if you do not accept this Agreement. By clicking to accept, accessing the HEx-PHI Dataset, or both, you hereby agree to the terms of the Agreement. If you are agreeing to be bound by the Agreement on behalf of your employer or another entity, you represent and warrant that you have full legal authority to bind your employer or such entity to this Agreement. If you do not have the requisite authority, you may not accept the Agreement or access the HEx-PHI Dataset on behalf of your employer or another entity.

  • Safety and Moderation: This dataset contains unsafe conversations or prompts that may be perceived as offensive or unsettling. Users may not use this dataset for training machine learning models for any harmful purpose. The dataset may not be used to generate content in violation of any law. These prompts should not be used as inputs to models that can generate modalities outside of text (including, but not limited to, images, audio, video, or 3D models)
  • Non-Endorsement: The views and opinions depicted in this dataset do not reflect the perspectives of the researchers or affiliated institutions engaged in the data collection process.
  • Legal Compliance: You are mandated to use it in adherence with all pertinent laws and regulations.
  • Model Specific Terms: When leveraging direct outputs of a specific model, users must adhere to its corresponding terms of use and relevant legal standards.
  • Non-Identification: You must not attempt to identify the identities of individuals or infer any sensitive personal data encompassed in this dataset.
  • Prohibited Transfers: You should not distribute, copy, disclose, assign, sublicense, embed, host, or otherwise transfer the dataset to any third party.
  • Right to Request Deletion: At any time, we may require you to delete all copies of this instruction dataset (in whole or in part) in your possession and control. You will promptly comply with any and all such requests. Upon our request, you shall provide us with written confirmation of your compliance with such requirement.
  • Termination: We may, at any time, for any reason or for no reason, terminate this Agreement, effective immediately upon notice to you. Upon termination, the license granted to you hereunder will immediately terminate, and you will immediately stop using the HEx-PHI Dataset and destroy all copies of the HEx-PHI Dataset and related materials in your possession or control.
  • Limitation of Liability: IN NO EVENT WILL WE BE LIABLE FOR ANY CONSEQUENTIAL, INCIDENTAL, EXEMPLARY, PUNITIVE, SPECIAL, OR INDIRECT DAMAGES (INCLUDING DAMAGES FOR LOSS OF PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT OF OR RELATING TO THIS AGREEMENT OR ITS SUBJECT MATTER, EVEN IF WE HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

Subject to your compliance with the terms and conditions of this Agreement, we grant to you, a limited, non-exclusive, non-transferable, non-sublicensable license to use the HEx-PHI Dataset, including the conversation data and annotations, to research, and evaluate software, algorithms, machine learning models, techniques, and technologies for both research and commercial purposes.

Citation

@inproceedings{
anonymous2024finetuning,
title={Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!},
author={Xiangyu Qi and Yi Zeng and Tinghao Xie and Pin-Yu Chen and Ruoxi Jia and Prateek Mittal and Peter Henderson},
booktitle={The Twelfth International Conference on Learning Representations},
year={2024},
url={https://openreview.net/forum?id=hTEGyKf0dZ}
}

README historyEdit history 1 revision1 edit

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.Every night we save the author's description of every dataset in the catalog. When it changes, we keep the new text and compare it with the one before. This shows what each author chose to say about their dataset, and how that changed over time.

  1. 2024-08-19 Removed CSAM 83128b4 8.4 KB
    Loading...

Community discussions 1 thread · 1 open · 2 comments

Threads posted by the community on Hugging Face: bug reports, questions about usage, pull requests on the README, licence clarifications. Click any thread to expand and read the full conversation inline. Newest first.Conversations people started on Hugging Face: bug reports, questions about using the data, suggested changes to the author's description, questions about the licence. Open a thread to read it here. Newest first.

  1. 2026-05-04 I emailed the authors and no one reply me open 2 💬 #1
    Loading...
Download from Hugging Face

LLM-Tuning-Safety/HEx-PHI

Catalog is the map. Apps are the tools.

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

Every GGUF model page has an "Open in Abliteration" button that lets you pick a file, then opens it in the desktop app. No API keys, no subscription, no prompt leakage.Each model page in the format the app uses has an "Open in Abliteration" button to open a file in the desktop app. No API keys, no subscription, your requests stay on your computer.

Open in Abliteration