extract 0 0 0

ethz-spylab/hh-harmless-train-with-rewards

published by @ethz-spylab

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
1.1K
Last 30 days
20
Likes
-
Size
30.6 MB
Created on HF
2023-06-16
Age
3 years ago

Description

This dataset is an instance from the harmless-base split from the Anthropic/hh-rlhf dataset. All entries have been assigned a reward with our custom reward model.

This allows us to identify the most harmful generations and use them to poison models using our oracle attack presented in our paper "Universal Jailbreak Backdoors from Poisoned Human Feedback"

Tags

size_categories:10K<n<100Kformat:parquetmodality:tabularmodality:textlibrary:datasetslibrary:pandaslibrary:mlcroissantlibrary:polarsarxiv:2311.14455region:us

README current version from Hugging Face


dataset_info:
features:

  • name: chosen
    dtype: string
  • name: rejected
    dtype: string
  • name: chosen_reward
    dtype: float32
  • name: rejected_reward
    dtype: float32
  • name: correct
    dtype: bool
  • name: difference
    dtype: float32
    splits:
  • name: train
    num_bytes: 56811404
    num_examples: 42537
    download_size: 32032368
    dataset_size: 56811404

This dataset is an instance from the harmless-base split from the Anthropic/hh-rlhf dataset. All entries have been assigned a reward with our custom reward model.

This allows us to identify the most harmful generations and use them to poison models using our oracle attack presented in our paper "Universal Jailbreak Backdoors from Poisoned Human Feedback"

README history 10 revisions

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.

  1. 2024-02-08Update README.mdf174b0f893 B
    Loading...
  2. 2023-06-16Upload README.md with huggingface_hub2c869bb577 B
    Loading...
  3. 2023-06-16Delete data/train-00000-of-00001-f96bf0b07cc97ec8.parquet with huggingface_hub79a4de8577 B
    Loading...
  4. 2023-06-16Upload data/train-00000-of-00001-c556b56aa02a49b9.parquet with huggingface_hub5a67ed0577 B
    Loading...
  5. 2023-06-16Upload README.md with huggingface_hubfd76183577 B
    Loading...
  6. 2023-06-16Delete data/train-00000-of-00001-04349f9de285b991.parquet with huggingface_hube3cd3dd565 B
    Loading...
  7. 2023-06-16Upload data/train-00000-of-00001-f96bf0b07cc97ec8.parquet with huggingface_hub7905f46565 B
    Loading...
  8. 2023-06-16Upload README.md with huggingface_hub5af9ed5565 B
    Loading...
  9. 2023-06-16Upload data/train-00000-of-00001-04349f9de285b991.parquet with huggingface_hubd73bf9f0 B
    Loading...
  10. 2023-06-16initial commit0e032620 B
    Loading...

Used by abliterated 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.

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, license clarifications. Click any thread to expand and read the full conversation inline. Newest first.

  1. 2024-02-09[bot] Conversion to Parquetopen1 💬#1
    Loading...

Related datasets same stage · extract

Read further

Repository

Download the dataset

0

Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.

Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("ethz-spylab/hh-harmless-train-with-rewards")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="ethz-spylab/hh-harmless-train-with-rewards", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/ethz-spylab/hh-harmless-train-with-rewards
Catalog is the map. Apps are the tools.

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

Every model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration