extract 0 0 0

Charles95/hh-rlhf

published by @Charles95

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
908
Last 30 days
24
Likes
-
Size
103 KB
Created on HF
2024-08-05
Age
2 years ago

Description

TRL's Anthropic HH Dataset

We preprocess the dataset using our standard prompt, chosen, rejected format.

Reproduce this dataset

Download the anthropic_hh.py from the https://huggingface.co/datasets/Charles95/hh-rlhf/tree/0.1.0.

Run python ./anthropic_hh.py --debug --hf_repo_id hh-rlhf --push_to_hub true

Tags

language:ensize_categories:n<1Kformat:parquetmodality:textlibrary:datasetslibrary:pandaslibrary:mlcroissantlibrary:polarsregion:us

README current version from Hugging Face


language:

  • en
    dataset_info:
    features:
    • name: chosen
      list:
      • name: content
        dtype: string
      • name: role
        dtype: string
    • name: rejected
      list:
      • name: content
        dtype: string
      • name: role
        dtype: string
    • name: prompt
      dtype: string
      splits:
    • name: train
      num_bytes: 80080
      num_examples: 50
    • name: test
      num_bytes: 71729
      num_examples: 50
      download_size: 97565
      dataset_size: 151809
      configs:
  • config_name: default
    data_files:
    • split: train
      path: data/train-*
    • split: test
      path: data/test-*

TRL's Anthropic HH Dataset

We preprocess the dataset using our standard prompt, chosen, rejected format.

Reproduce this dataset

  1. Download the anthropic_hh.py from the https://huggingface.co/datasets/Charles95/hh-rlhf/tree/0.1.0.
  2. Run python ./anthropic_hh.py --debug --hf_repo_id hh-rlhf --push_to_hub true

README history 5 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-08-13Librarian Bot: Add language metadata for dataset (#2)1ffb5d7915 B
    Loading...
  2. 2024-08-05Upload README.md with huggingface_hub7039997900 B
    Loading...
  3. 2024-08-05Upload anthropic_hh.py with huggingface_hub4b77ac1574 B
    Loading...
  4. 2024-08-05Upload datasete767d24574 B
    Loading...
  5. 2024-08-05initial commit37802600 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 2 threads · 1 open · 2 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-08-11PRLibrarian Bot: Add language metadata for datasetmerged1 💬#2
    Loading...
  2. 2024-08-06[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("Charles95/hh-rlhf")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="Charles95/hh-rlhf", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/Charles95/hh-rlhf
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