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.

allenai/coconot

published by @allenai

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

task_categories:text-generationlanguage:ensize_categories:10K<n<100Kformat:parquetmodality:textlibrary:datasetslibrary:pandaslibrary:polars +3 more
Lifetime downloads
60.8K
Last 30 days
13K
Likes
27
Size
4.1 MB

Description

🥥 CoCoNot: Contextually, Comply Not! Dataset Card

Dataset Details

Dataset Description

Chat-based language models are designed to be helpful, yet they should not comply with every user request.

While most existing work primarily focuses on refusal of "unsafe" queries, we posit that the scope of noncompliance should be broadened. We introduce a comprehensive taxonomy of contextual noncompliance describing when and how models should not comply with… See the full description on the dataset page: https://huggingface.co/datasets/allenai/coconot.

Structure 3 configs · from the README front matter3 subsets, from the author's description

contrast 379 rows
SplitPartRowsSize
test 379 48.0 KB
FeaturesFields
idstring categorystring subcategorystring promptstring responsestring
Data files
test contrast/test-*
original 12,478 rows
SplitPartRowsSize
train 11,477 6.2 MB
test 1,001 152.1 KB
FeaturesFields
idstring categorystring subcategorystring promptstring responsestring
Data files
train original/train-*
test original/test-*
pref 927 rows
SplitPartRowsSize
train 927 2.5 MB
FeaturesFields
idstring categorystring subcategorystring promptstring chosenstring chosen_modelstring rejectedstring rejected_modelstring
Data files
train pref/train-*

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

Language
en
Created on HFCreated
2024-06-11 · 2 years ago
Size category
10K<n<100K
ModalitiesData types
text
Formats
parquet
LibrariesTools
datasetspandasmlcroissantpolars
ArXivPaper

Related datasets same stage · Evaluatesame step · Testing

Read further

Total size
4.1 MB
Files
7
Formats
parquet
Head
2cbe16a
Last updated on HFLast updated
2024-07-18

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("allenai/coconot")
Raw snapshot (Python)All files (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="allenai/coconot", repo_type="dataset")
git clone (requires git-lfs)With git (needs git-lfs)
git clone https://huggingface.co/datasets/allenai/coconot

Files by folder from our last crawlfrom our last check

top level 3 files 28.0 KB
.gitattributes 2.3 KB file download
LICENSE.md 19.8 KB md download
README.md 5.9 KB md download
contrast/ 1 file 20.5 KB
test-00000-of-00001.parquet 20.5 KB parquet download
original/ 2 files 2.8 MB
test-00000-of-00001.parquet 64.8 KB parquet download
train-00000-of-00001.parquet 2.7 MB parquet download
pref/ 1 file 1.3 MB
train-00000-of-00001.parquet 1.3 MB parquet download

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

🥥 CoCoNot: Contextually, Comply Not! Dataset Card

Dataset Details

Dataset Description

Chat-based language models are designed to be helpful, yet they should not comply with every user request.
While most existing work primarily focuses on refusal of "unsafe" queries, we posit that the scope of noncompliance should be broadened. We introduce a comprehensive taxonomy of contextual noncompliance describing when and how models should not comply with user requests.
We developed a new resource, 🥥 CoCoNot, for benchmarking and enhancing noncompliance behavior of chat-based language models.

Uses

In this work, we aim to broaden the scope of noncompliance beyond its previous focus on safety. To achieve this, we develop a taxonomy of contextual noncompliance for language models, drawing inspiration from previous research in real-world content moderation, user safety and experience, and AI safety and risks.
We outline the taxonomy below: it comprises five major categories, each of which includes several fine-grained sub-categories.

We create CoCoNot based on the proposed taxonomy shown above. Our dataset contains two subsets: (1) noncompliance queries (original) and (2) a contrast query set that should be complied with (contrast).
Each subset is split into a human-verified evaluation set and a training set (with responses).
We use the former to benchmarking and latter to enhance noncompliance in language models.

Loading

from datasets import load_dataset


# load original test set
coconot_eval = load_dataset("allenai/coconot", "original", split="test")

# load contrast test set
coconot_contrast_eval = load_dataset("allenai/coconot", "contrast", split="test")

# load preference training set
coconot_train_pref = load_dataset("allenai/coconot", "pref", split="train")

Dataset Structure

CoCoNot examples (original and contract set) contain the following fields:

  • id (str): a unique identifier
  • prompt (str): the instruction/query which should NOT be complied with (original set) or should be complied with (contrast)
  • response (str): the noncompliant or compliant response (only in train split)
  • category (str): a high-level noncompliance category defined in our taxonomy including: "incomplete requests", "unsupported requests", "indeterminate requests", "humanizing requests", and "requests with safety concerns"
  • subcategory (str): a fine-grained subcategory under each category

Preference data subset (coconot_pre) has the following fields:

  • id (str): a unique identifier
  • prompt (str): the instruction/query which can be safely complied with
  • chosen (str): the compliant response from a stronger model
  • chosen_model (str): gpt-4
  • rejected (str): the noncompliant response from a weaker model
  • rejected_model (str): where applicable

This can easily be converted to the standard chosen/rejected list of messages format for DPO training (see UltraFeedback for an example)

Data Creation

Please refer to our paper Section 3 for details on our dataset collection.

Licensing Information

CoCoNot is made available under the ODC-BY requiring the user to follow the licenses of the subsequent parts.

Citation

@article{brahman-kumar2024,
  title={{The Art of Saying No: Contextual Noncompliance in Language Models}},
  author={Faeze Brahman, Sachin Kumar, Vidhisha Balachandran, Pradeep Dasigi, Valentina Pyatkin, Abhilasha Ravichander, Sarah Wiegreffe, Nouha Dziri, Khyathi Chandu, Jack Hessel, Yulia Tsvetkov, Noah A. Smith, Yejin Choi, Hannaneh Hajishirzi},
  journal={},
  year={2024}
}

README historyEdit history latest 20 of 47 revisionslatest 20 of 47 edits

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-07-18 Update README.md 2cbe16a 5.8 KB
    Loading...
  2. 2024-07-14 Update README.md 99239db 5.7 KB
    Loading...
  3. 2024-07-13 Upload dataset 3e9839f 5.7 KB
    Loading...
  4. 2024-07-13 Upload dataset 8bff3a4 5.5 KB
    Loading...
  5. 2024-07-13 Upload dataset b08d390 5.4 KB
    Loading...
  6. 2024-07-13 Upload dataset 51d31ea 5.4 KB
    Loading...
  7. 2024-07-13 Delete pref 7f6e35a 5.4 KB
    Loading...
  8. 2024-07-13 Delete contrast 18f0eb4 5.4 KB
    Loading...
  9. 2024-07-13 Delete original bd75b7c 5.4 KB
    Loading...
  10. 2024-07-13 Upload dataset 24ecaad 5.4 KB
    Loading...
  11. 2024-07-13 Delete original a788049 5.4 KB
    Loading...
  12. 2024-07-12 Update README.md 71670f3 5.4 KB
    Loading...
  13. 2024-07-12 Update README.md c5fc2bd 5.3 KB
    Loading...
  14. 2024-07-12 Update README.md 82ca807 5.4 KB
    Loading...
  15. 2024-07-12 Update README.md 2c5a112 5.3 KB
    Loading...
  16. 2024-07-12 Update README.md 6760569 4.9 KB
    Loading...
  17. 2024-06-13 Update README.md 77e7a37 4.9 KB
    Loading...
  18. 2024-06-13 Update README.md 1ef98b9 5.6 KB
    Loading...
  19. 2024-06-12 Update README.md e9838f5 4.9 KB
    Loading...
  20. 2024-06-12 Update README.md db25d84 4.9 KB
    Loading...

Community discussions 3 threads · 2 open · 3 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. 2025-12-11 Response cut open 1 💬 #3
    Loading...
  2. 2024-07-14 [bot] Conversion to Parquet closed 1 💬 #2
    Loading...
  3. 2024-07-01 PR Librarian Bot: Add dpo tag open 1 💬 #1
    Loading...
Download from Hugging Face

allenai/coconot

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