extract 0 0 0

KHuss/hh-rlhf-formatted

published by @KHuss

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
2.2K
Last 30 days
48
Likes
-
Size
295.4 MB
Created on HF
2024-11-10
Age
1 years ago

Description

Reformatted version of Anthropic's hh-rlhf dataset

Original available at https://huggingface.co/datasets/Anthropic/hh-rlhf. (Does not include red teaming data)

RLHF datasets are in general defined as a collection of triples D={(x,y_1,y_2)_n} where x is the prompt, y_1 the chosen reponse and y_2 the rejected response.

The original dataset provides two columns, "chosen"=x+y_1 and "rejected"=x+y_2.

Various RLHF setups may require either format, so in this dataset we keep the… See the full description on the dataset page: https://huggingface.co/datasets/KHuss/hh-rlhf-formatted.

Tags

task_categories:text-generationtask_categories:text-classificationtask_categories:reinforcement-learningtask_categories:token-classificationlanguage:enlicense:mitsize_categories:100K<n<1Mformat:parquetmodality:textlibrary:datasetslibrary:dasklibrary:polarslibrary:mlcroissantregion:usHarmlessnessHelpfulenss

README current version from Hugging Face


dataset_info:
features:

  • name: chosen
    dtype: string
  • name: rejected
    dtype: string
  • name: x
    dtype: string
  • name: y1
    dtype: string
  • name: y2
    dtype: string
    splits:
  • name: train
    num_bytes: 512473755
    num_examples: 160800
  • name: test
    num_bytes: 27470851
    num_examples: 8552
    download_size: 309712302
    dataset_size: 539944606
    configs:
  • config_name: default
    data_files:
    • split: train
      path: data/train-*
    • split: test
      path: data/test-*
      license: mit
      task_categories:
  • text-generation
  • text-classification
  • reinforcement-learning
  • token-classification
    language:
  • en
    size_categories:
  • 100K<n<1M
    tags:
  • Harmlessness
  • Helpfulenss

Reformatted version of Anthropic's hh-rlhf dataset

Original available at https://huggingface.co/datasets/Anthropic/hh-rlhf. (Does not include red teaming data)

RLHF datasets are in general defined as a collection of triples D={(x,y_1,y_2)_n} where x is the prompt, y_1 the chosen reponse and y_2 the rejected response.
The original dataset provides two columns, "chosen"=x+y_1 and "rejected"=x+y_2.

Various RLHF setups may require either format, so in this dataset we keep the original "chosen" and "rejected" columns, but add "x", "y1", and "y2" columns where "x" is the longest prefix of both "chosen" and "rejected".

README history 6 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. 2025-01-13Update README.mdf25740d1.3 KB
    Loading...
  2. 2025-01-13Update README.mdf82b75f1.3 KB
    Loading...
  3. 2024-11-10Update README.md6c72bd91.2 KB
    Loading...
  4. 2024-11-10Update README.md1941aeb674 B
    Loading...
  5. 2024-11-10Upload datasetca3383e513 B
    Loading...
  6. 2024-11-10initial commit33489740 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-11-11[bot] Conversion to Parquetopen1 💬#1
    Loading...

Related datasets same stage · extract

Read further

Metadata

License
mit

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("KHuss/hh-rlhf-formatted")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="KHuss/hh-rlhf-formatted", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/KHuss/hh-rlhf-formatted
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