extract 0 0 0

trl-internal-testing/hh-rlhf-helpful-base-trl-style

published by @trl-internal-testing

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
85.6K
Last 30 days
573
Likes
15
Size
40.1 MB
Created on HF
2024-05-02
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/trl-internal-testing/hh-rlhf-helpful-base-trl-style/tree/0.1.0.

Run python examples/datasets/anthropic_hh.py --push_to_hub --hf_entity trl-internal-testing

Tags

size_categories:10K<n<100Kformat:parquetmodality:textlibrary:datasetslibrary:pandaslibrary:mlcroissantlibrary:polarsregion:us

README current version from Hugging Face


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: 71553768
    num_examples: 43835
  • name: test
    num_bytes: 3858452
    num_examples: 2354
    download_size: 42037894
    dataset_size: 75412220
    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/trl-internal-testing/hh-rlhf-helpful-base-trl-style/tree/0.1.0.
  2. Run python examples/datasets/anthropic_hh.py --push_to_hub --hf_entity trl-internal-testing

README history 4 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-05-02Upload README.md with huggingface_hub5e40f7c964 B
    Loading...
  2. 2024-05-02Upload anthropic_hh.py with huggingface_huba58951a589 B
    Loading...
  3. 2024-05-02Upload dataset5c3cb6c589 B
    Loading...
  4. 2024-05-02initial commit46bbaeb0 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 3 threads · 3 open · 3 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-07-01PRLibrarian Bot: Add dpo tagopen1 💬#3
    Loading...
  2. 2024-05-09PRLibrarian Bot: Add language metadata for datasetopen1 💬#2
    Loading...
  3. 2024-05-03[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("trl-internal-testing/hh-rlhf-helpful-base-trl-style")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="trl-internal-testing/hh-rlhf-helpful-base-trl-style", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/trl-internal-testing/hh-rlhf-helpful-base-trl-style
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