extract 0 0 0

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

published by @trl-internal-testing

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
17.7K
Last 30 days
103
Likes
12
Size
183.1 MB
Created on HF
2024-03-13
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-trl-style/tree/0.1.0.

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

Tags

size_categories:100K<n<1Mformat: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: 327157884
    num_examples: 160800
  • name: test
    num_bytes: 17602645
    num_examples: 8552
    download_size: 191942872
    dataset_size: 344760529
    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-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-03-13Upload README.md with huggingface_hubbbea196956 B
    Loading...
  2. 2024-03-13Upload anthropic_hh.py with huggingface_hube391d0f594 B
    Loading...
  3. 2024-03-13Upload dataset3a88646594 B
    Loading...
  4. 2024-03-13initial commitee5a25f0 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-07-01PRLibrarian Bot: Add dpo tagopen1 💬#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-trl-style")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="trl-internal-testing/hh-rlhf-trl-style", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/trl-internal-testing/hh-rlhf-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