abliteration.org
Get the app

Two ways to read this site

Technical mode is the default: exact terms and codes, for engineers, researchers, journalists and companies. Simple mode gives the same facts in plain words, for anyone who wants a model that runs on their own computer. You can switch at any time at the top of the page.

technical
MLX weights for Apple silicon (M1 or later), usually quantized to 4 or 8 bits.
simple
Made for Macs with Apple silicon (M1 or newer), usually compressed to 4 or 8 bits.

HuggingFaceH4/orca_dpo_pairs

published by @HuggingFaceH4

DPO and ORPO preference mixes to recover capability after ablation.Answer pairs that recover quality after the edit.

task_categories:text-classificationtask_categories:token-classificationtask_categories:table-question-answeringtask_categories:question-answeringtask_categories:zero-shot-classificationtask_categories:summarizationtask_categories:feature-extractiontask_categories:text-generation +12 more
Lifetime downloads
82.8K
Last 30 days
8.4K
Likes
32
Size
30.8 MB

Description

Dataset Card for Orca DPO Pair

Dataset Description

This is a pre-processed version of the OpenOrca dataset.

The original OpenOrca dataset is a collection of augmented FLAN data that aligns, as best as possible, with the distributions outlined in the Orca paper.

It has been instrumental in generating high-performing preference-tuned model checkpoints and serves as a valuable resource for all NLP researchers and developers!

Dataset Summary

The OrcaDPO… See the full description on the dataset page: https://huggingface.co/datasets/HuggingFaceH4/orca_dpo_pairs.

Structure 1 config · from the README front matter1 subset, from the author's description

default default 12,859 rows
SplitPartRowsSize
train_prefs 12,359 55.1 MB
test_prefs 500 2.2 MB
FeaturesFields
chosenlist<struct> rejectedlist<struct> promptstring
Data files
train_prefs data/train_prefs-*
test_prefs data/test_prefs-*

Used by uncensored 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.No model in our catalog lists this dataset yet. It may be used without being listed, used for other work, or simply be new. The list fills in by itself as models are added.

MetadataDetails

License
mit
Language
en
Created on HFCreated
2023-12-28 · 2 years ago
Size category
10K<n<100K
ModalitiesData types
text
Formats
parquet
LibrariesTools
datasetspandasmlcroissantpolars
ArXivPaper

Related datasets same stage · Healsame step · Recovering quality

Read further

Total size
30.8 MB
Files
4
Formats
parquet
Head
31c9da6
Last updated on HFLast updated
2024-04-14

Download the dataset

Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.Each of these lines of code downloads the dataset straight from Hugging Face, with your own Hugging Face login.

Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("HuggingFaceH4/orca_dpo_pairs")
Raw snapshot (Python)All files (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="HuggingFaceH4/orca_dpo_pairs", repo_type="dataset")
git clone (requires git-lfs)With git (needs git-lfs)
git clone https://huggingface.co/datasets/HuggingFaceH4/orca_dpo_pairs

Files by folder from our last crawlfrom our last check

top level 2 files 8.5 KB
.gitattributes 2.3 KB file download
README.md 6.1 KB md download
data/ 2 files 30.8 MB
test_prefs-00000-of-00001.parquet 1.1 MB parquet download
train_prefs-00000-of-00001.parquet 29.6 MB parquet download

READMEAuthor's description current version from Hugging Faceas it is now on Hugging Face

Dataset Card for Orca DPO Pair

Dataset Description

This is a pre-processed version of the OpenOrca dataset.

The original OpenOrca dataset is a collection of augmented FLAN data that aligns, as best as possible, with the distributions outlined in the Orca paper.
It has been instrumental in generating high-performing preference-tuned model checkpoints and serves as a valuable resource for all NLP researchers and developers!

Dataset Summary

The OrcaDPO Pair dataset is a subset of the OpenOrca dataset suitable for DPO preference tuning. The dataset is stored in parquet format with each entry using the following schema:
:

{
'prompt': 'Read the following paragraph and determine if the hypothesis is true:\n\nWorld leaders expressed concern on Thursday that North Ko...'
'chosen': [
           {'content': 'You are a helpful assistant, who always provide explanation. Think like you are answering to a five year old.',
            'role': 'system'
           },
           {'content': 'Read the following paragraph and determine if the hypothesis is true...',
            'role': 'user'
           },
           {'content': 'Okay little buddy, let\'s look at this...',
            'role': 'assistant'
           }
          ],
'rejected': [
             {'content': 'You are a helpful assistant, who always provide explanation. Think like you are answering to a five year old.',
              'role': 'system'
             },
             {'content': 'Read the following paragraph and determine if the hypothesis is true...',
              'role': 'user'
             },
             {'content': 'Oh my gosh! Let me see if I can help you with that! ...',
              'role': 'assistant'
             }
            ],
}

Data Splits

The dataset consists of two splits, "train_prefs" and "test_prefs":

train_prefs test_prefs
12359 500

Usage

To load the dataset, run:

from datasets import load_dataset

ds = load_dataset("HuggingFaceH4/orca_dpo_pairs")

Languages

The language of the data is primarily English.

Dataset Creation

Curation Rationale

The dataset was created to provide a source of augmented text data for researchers and developers.
The datapoints are intended primarily to provide an enhancement of the core FLAN Collection data which relies upon the detailed step-by-step reasoning capabilities of GPT-3.5 and GPT-4.
This "reasoning trace" augmentation has demonstrated exceptional results, allowing a LLaMA-13B model trained with this data to rival or beat GPT-3.5 on broad sets of hard reasoning tasks which all models below 100B parameters had previously performed dramatically worse on.

Source Data

The data is generated using techniques in alignment with the distributions outlined in the Orca paper, except as noted below:

  1. There is not enough CoT data in the FLAN Collection to generate 150K zero-shot entries, as the paper purports to use.
    We suspect this portion was either undocumented or misrepresented. We have used the ~75K points available.
  2. We used the pre-generated FLAN Collection datasets hosted on HuggingFace under conceptofmind, e.g. conceptofmind/flan2021.
    These are referenced by the official FLAN Collection repo as the preferred data source.
    However, these are a subset of the full FLAN Collection data, and have less than the required entries for the flan2021 and t0 submixes, by ~1.25M and 200k respectively.

Combined, this gave us ~1.5M fewer data points than in the original Orca paper. Completing the set is an ongoing work.

Dataset Use

Use Cases

The dataset can be used for tasks related to language understanding, natural language processing, machine learning model training, and model performance evaluation.

Usage Caveats

Given that this is a work-in-progress dataset, it is recommended to regularly check for updates and improvements.
Further, the data should be used following the guidelines and recommendations outlined in the Orca paper.

Getting Started

This dataset is organized to be naively loaded via the Hugging Face datasets library.
We recommend using streaming due to the large size of the files.
Regular updates and data generation progress can be monitored through the OpenOrca repository on Hugging Face.

Citation

@misc{OpenOrca,
  title = {OpenOrca: An Open Dataset of GPT Augmented FLAN Reasoning Traces},
  author = {Wing Lian and Bleys Goodson and Eugene Pentland and Austin Cook and Chanvichet Vong and "Teknium"},
  year = {2023},
  publisher = {HuggingFace},
  journal = {HuggingFace repository},
  howpublished = {\url{https://https://huggingface.co/Open-Orca/OpenOrca}},
}

README historyEdit history 6 revisions6 edits

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.Every night we save the author's description of every dataset in the catalog. When it changes, we keep the new text and compare it with the one before. This shows what each author chose to say about their dataset, and how that changed over time.

  1. 2024-04-14 Add dpo tag (#4) 31c9da6 6 KB
    Loading...
  2. 2024-01-16 Update README.md e0e8aeb 6 KB
    Loading...
  3. 2024-01-16 initial model card (#1) ec4f1b7 6.1 KB
    Loading...
  4. 2024-01-11 Upload dataset 5b21c74 645 B
    Loading...
  5. 2023-12-28 Upload dataset 0a737de 611 B
    Loading...
  6. 2023-12-28 initial commit 4e44445 0 B
    Loading...

Community discussions 4 threads · 1 open · 5 comments

Threads posted by the community on Hugging Face: bug reports, questions about usage, pull requests on the README, licence clarifications. Click any thread to expand and read the full conversation inline. Newest first.Conversations people started on Hugging Face: bug reports, questions about using the data, suggested changes to the author's description, questions about the licence. Open a thread to read it here. Newest first.

  1. 2024-04-11 PR Add dpo tag mergedadded 2 💬 #4
    Loading...
  2. 2024-04-11 PR Add dpo tag closed 1 💬 #3
    Loading...
  3. 2024-01-17 [bot] Conversion to Parquet open 1 💬 #2
    Loading...
  4. 2024-01-16 PR initial model card mergedadded 1 💬 #1
    Loading...
Download from Hugging Face

HuggingFaceH4/orca_dpo_pairs

Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every GGUF model page has an "Open in Abliteration" button that lets you pick a file, then opens it in the desktop app. No API keys, no subscription, no prompt leakage.Each model page in the format the app uses has an "Open in Abliteration" button to open a file in the desktop app. No API keys, no subscription, your requests stay on your computer.

Open in Abliteration