extract 0 0 0

vwxyzjn/hh-rlhf-trl-style

published by @vwxyzjn

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
525
Last 30 days
16
Likes
-
Size
155 KB
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 tldr_preference.py from the https://huggingface.co/datasets/vwxyzjn/hh-rlhf-trl-style/tree/0.1.0.

Run python examples/datasets/tldr_preference.py --debug --push_to_hub

Tags

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

README current version from Hugging Face


dataset_info:
features:

  • name: info
    struct:
    • name: id
      dtype: string
    • name: post
      dtype: string
    • name: title
      dtype: string
    • name: subreddit
      dtype: string
    • name: site
      dtype: string
    • name: article
      dtype: string
  • name: summaries
    list:
    • name: text
      dtype: string
    • name: policy
      dtype: string
    • name: note
      dtype: string
  • name: choice
    dtype: int32
  • name: worker
    dtype: string
  • name: batch
    dtype: string
  • name: split
    dtype: string
  • name: extra
    struct:
    • name: confidence
      dtype: int32
  • name: prompt
    dtype: string
  • name: chosen
    list:
    • name: content
      dtype: string
    • name: role
      dtype: string
  • name: rejected
    list:
    • name: content
      dtype: string
    • name: role
      dtype: string
      splits:
  • name: train
    num_bytes: 315969
    num_examples: 50
  • name: validation
    num_bytes: 325197
    num_examples: 50
    download_size: 150469
    dataset_size: 641166
    configs:
  • config_name: default
    data_files:
    • split: train
      path: data/train-*
    • split: validation
      path: data/validation-*

TRL's Anthropic HH Dataset

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

Reproduce this dataset

  1. Download the tldr_preference.py from the https://huggingface.co/datasets/vwxyzjn/hh-rlhf-trl-style/tree/0.1.0.
  2. Run python examples/datasets/tldr_preference.py --debug --push_to_hub

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_hub89bbec81.5 KB
    Loading...
  2. 2024-03-13Upload tldr_preference.py with huggingface_hub737146e1.2 KB
    Loading...
  3. 2024-03-13Upload dataset91829181.2 KB
    Loading...
  4. 2024-03-13initial commitb3aa4540 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 · 2 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-03-20PRLibrarian Bot: Add language metadata for datasetopen1 💬#2
    Loading...
  2. 2024-03-14[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("vwxyzjn/hh-rlhf-trl-style")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="vwxyzjn/hh-rlhf-trl-style", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/vwxyzjn/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