extract 0 0 0

Columbia-NLP/DPO-hh-rlhf

published by @Columbia-NLP

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
1.6K
Last 30 days
35
Likes
-
Size
281.4 MB
Created on HF
2024-07-05
Age
2 years ago

Description

Dataset Card for DPO-hh-rlhf

Reformatted from Anthropic/hh-rlhf dataset.

The LION-series are trained using an empirically optimized pipeline that consists of three stages: SFT, DPO, and online preference learning (online DPO). We find simple techniques such as sequence packing, loss masking in SFT, increasing the preference dataset size in DPO, and online DPO training can significantly improve the performance of language models. Our best models (the LION-series) exceed the… See the full description on the dataset page: https://huggingface.co/datasets/Columbia-NLP/DPO-hh-rlhf.

Tags

size_categories:100K<n<1Mformat:parquetmodality:tabularmodality:textlibrary:datasetslibrary:dasklibrary:mlcroissantlibrary:polarsarxiv:2407.06542region:us

README current version from Hugging Face


dataset_info:
features:

  • name: prompt
    dtype: string
  • name: prompt_id
    dtype: string
  • name: chosen
    list:
    • name: content
      dtype: string
    • name: role
      dtype: string
  • name: rejected
    list:
    • name: content
      dtype: string
    • name: role
      dtype: string
  • name: messages
    list:
    • name: content
      dtype: string
    • name: role
      dtype: string
  • name: score_chosen
    dtype: float64
  • name: score_rejected
    dtype: float64
  • name: other_info
    struct:
    • name: source
      dtype: string
      splits:
  • name: train
    num_bytes: 501881444
    num_examples: 160800
  • name: test
    num_bytes: 26966851
    num_examples: 8552
    download_size: 295013949
    dataset_size: 528848295
    configs:
  • config_name: default
    data_files:
    • split: train
      path: data/train-*
    • split: test
      path: data/test-*

Dataset Card for DPO-hh-rlhf

Reformatted from Anthropic/hh-rlhf dataset.

The LION-series are trained using an empirically optimized pipeline that consists of three stages: SFT, DPO, and online preference learning (online DPO). We find simple techniques such as sequence packing, loss masking in SFT, increasing the preference dataset size in DPO, and online DPO training can significantly improve the performance of language models. Our best models (the LION-series) exceed the performance of the official instruct models tuned with closed-source data and algorithms. To ensure reproducibility, all of our models are trained using publicly available datasets.

For training datasets, code, and evaluation scripts, please refer to our paper and codebase.

Dataset Description

We reformat the Anthropic/hh-rlhf dataset into a common format used across all DPO datasets in this collection. Specifically, we:

  1. since the original dataset does not have score ratings, we used "10" for ALL chosen response, and "1" for ALL rejected response as placeholders.

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-07-10Update README.md2df91052.2 KB
    Loading...
  2. 2024-07-05Update README.md71998632.1 KB
    Loading...
  3. 2024-07-05Upload datasetcc853f7896 B
    Loading...
  4. 2024-07-05initial commit3b1a9010 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-16PRLibrarian Bot: Add language metadata for datasetopen1 💬#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("Columbia-NLP/DPO-hh-rlhf")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="Columbia-NLP/DPO-hh-rlhf", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/Columbia-NLP/DPO-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