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.

hendrydong/preference_700K

published by @hendrydong

Harmful and harmless prompt sets, contrastive pairs, and jailbreak and attack corpora.Sets of harmful and harmless requests, pairs of opposite examples, and attack datasets.

size_categories:100K<n<1Mformat:parquetmodality:tabularmodality:textlibrary:datasetslibrary:dasklibrary:mlcroissantlibrary:polars +2 more
Lifetime downloads
24.2K
Last 30 days
493
Likes
17
Size
1.4 GB

Description

This is the preference dataset used for RLHF Workflow project.

It is a mixed dataset of the following complenent,

HH-RLHF (Bai et al., 2022a) is a pairwise preference dataset where each sample is accompanied

by a conversation history and two alternative responses written by an early Claude model with 52B

parameters. The preferences of the responses are annotated by humans.

SHP (Ethayarajh et al., 2022) is sourced from Reddit and includes examples from 18 subreddits, such

as askacademia… See the full description on the dataset page: https://huggingface.co/datasets/hendrydong/preference_700K.

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

default default 700,000 rows
SplitPartRowsSize
train 700,000 2.8 GB
FeaturesFields
rejectedlist<struct> rejected_scorefloat64 chosen_scorefloat64 chosenlist<struct>
Data files
train data/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

Created on HFCreated
2024-04-17 · 2 years ago
Size category
100K<n<1M
ModalitiesData types
tabulartext
Formats
parquet
LibrariesTools
datasetsdaskmlcroissantpolars
ArXivPaper

Related datasets same stage · Extractsame step · Finding refusals

Read further

Total size
1.4 GB
Files
8
Formats
parquet
Head
dbb8cca
Last updated on HFLast updated
2024-09-28

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

Files by folder from our last crawlfrom our last check

top level 2 files 6.3 KB
.gitattributes 2.3 KB file download
README.md 4.0 KB md download
data/ 6 files 1.4 GB
train-00000-of-00006.parquet 216.4 MB parquet download
train-00001-of-00006.parquet 217.4 MB parquet download
train-00002-of-00006.parquet 217.8 MB parquet download
train-00003-of-00006.parquet 217.7 MB parquet download
train-00004-of-00006.parquet 242.3 MB parquet download
train-00005-of-00006.parquet 321.5 MB parquet download

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

This is the preference dataset used for RLHF Workflow project.

It is a mixed dataset of the following complenent,

  • HH-RLHF (Bai et al., 2022a) is a pairwise preference dataset where each sample is accompanied
    by a conversation history and two alternative responses written by an early Claude model with 52B
    parameters. The preferences of the responses are annotated by humans.
  • SHP (Ethayarajh et al., 2022) is sourced from Reddit and includes examples from 18 subreddits, such
    as askacademia, askbaking, askengineers, and changemyview. Each example is a Reddit post with a
    question/instruction and a pair of top-level comments. One comment is preferred by more Reddit users
    than the other. All preferences and responses are provided by humans. Only samples with a score
    ratio > 2 are used, and at most 5 pairs are taken for each prompt.
  • HelpSteer (Wang et al., 2023). This open-source dataset (Wang et al., 2023) contains prompts,
    responses, and five human-annotated attributes (helpfulness, correctness, coherence, complexity, and
    verbosity) ranging from 0 to 4. The prompts are generated using a mixture of template-generated and
    human-generated methods, while responses are generated by an in-house LLM. The authors generate
    up to 4 responses per prompt, and we can construct pairwise comparisons based on them.
  • PKU-SafeRLHF (Ji et al., 2024). This dataset (Ji et al., 2024) consists of 30k+ expert comparison
    data. Each sample includes two responses to a question and two preference signals for helpfulness and
    safety, respectively. The responses are generated by open-source chatbots, and the preference signals
    are merged through the results of 14 harm category multi-class classficiation.
  • UltraFeedback (Cui et al., 2023) consists of 64k prompts from diverse resources (including UltraChat,
    ShareGPT, Evol-Instruct, TruthfulQA, FalseQA, and FLAN) and the authors generate 4 responses per
    prompt using 4 different LLMs sampled from a diverse set of state-of-the-art open-source LLMs. The
    preference is from GPT-4 based on a fine-grained annotation instruction, which contains 4 different
    aspects, namely instruction-following, truthfulness, honesty and helpfulness. The dataset collection
    strategy of UltraFeedback has also influenced many subsequent works.
  • UltraInteract (Yuan et al., 2024a) is a preference dataset designed for complex reasoning tasks. The
    authors collect a preference tree for each instruction, with the instruction being the root and each
    action a node. A trajectory is a root-to-leaf path consisting of a sequence of actions. Paired correct
    and incorrect nodes or trajectories are used for preference learning.
  • Distilabel-Capybara is a preference dataset of multi-turn dialogues whose prompts are taken from
    Daniele and Suphavadeeprasit (2023), where the responses are generated by open-source LLMs and
    preferences are generated by GPT-4.
  • Distilabel-Orca is collected similarly with Capybara but with the prompts from Lian et al. (2023a).

Reference

If you found it useful, please cite

@misc{dong2024rlhf,
      title={RLHF Workflow: From Reward Modeling to Online RLHF}, 
      author={Hanze Dong and Wei Xiong and Bo Pang and Haoxiang Wang and Han Zhao and Yingbo Zhou and Nan Jiang and Doyen Sahoo and Caiming Xiong and Tong Zhang},
      year={2024},
      eprint={2405.07863},
      archivePrefix={arXiv},
      primaryClass={cs.LG}
}

README historyEdit history 3 revisions3 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-09-28 Update README.md dbb8cca 3.9 KB
    Loading...
  2. 2024-04-18 Upload dataset 008cf51 548 B
    Loading...
  3. 2024-04-18 initial commit 59fc19f 0 B
    Loading...

Community discussions 1 thread · 1 open · 1 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. 2024-04-19 [bot] Conversion to Parquet open 1 💬 #1
    Loading...
Download from Hugging Face

hendrydong/preference_700K

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