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.

mlabonne/orpo-dpo-mix-40k-flat

published by @mlabonne

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

task_categories:text-generationlanguage:enlicense:apache-2.0size_categories:10K<n<100Kformat:parquetmodality:textlibrary:datasetslibrary:pandas +7 more
Lifetime downloads
3.5K
Last 30 days
84
Likes
17
Size
86.1 MB

Description

ORPO-DPO-mix-40k-flat

This dataset is designed for ORPO or DPO training.

See Uncensor any LLM with Abliteration for more information about how to use it.

This is version with raw text instead of lists of dicts as in the original version here.

It makes easier to parse in Axolotl, especially for DPO.

ORPO-DPO-mix-40k-flat is a combination of the following high-quality DPO datasets:

argilla/Capybara-Preferences: highly scored chosen answers >=5 (7,424 samples)… See the full description on the dataset page: https://huggingface.co/datasets/mlabonne/orpo-dpo-mix-40k-flat.

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

default default 44,245 rows
SplitPartRowsSize
train 44,245 155.6 MB
FeaturesFields
sourcestring chosenstring rejectedstring promptstring systemstring questionstring
Data files
train data/train-*

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.

Used in recipes 1 of 17 curated recipes reference this dataset

Concrete workflows from the community craft-knowledge survey that call for this corpus. Each links to the full recipe with parameters, tools, expected output, and known failure modes.Recipes from our survey of practitioners that use this dataset. Each one links to the full recipe: settings, tools, the expected result and what can go wrong.

MetadataDetails

License
apache-2.0
Language
en
Created on HFCreated
2024-06-07 · 2 years ago
Size category
10K<n<100K
ModalitiesData types
text
Formats
parquet
LibrariesTools
datasetspandasmlcroissantpolars

Related datasets same stage · Healsame step · Recovering quality

Read further

Total size
86.1 MB
Files
3
Formats
parquet
Head
fbf33b6
Last updated on HFLast updated
2024-06-07

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("mlabonne/orpo-dpo-mix-40k-flat")
Raw snapshot (Python)All files (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="mlabonne/orpo-dpo-mix-40k-flat", repo_type="dataset")
git clone (requires git-lfs)With git (needs git-lfs)
git clone https://huggingface.co/datasets/mlabonne/orpo-dpo-mix-40k-flat

Files by folder from our last crawlfrom our last check

top level 2 files 5.7 KB
.gitattributes 2.3 KB file download
README.md 3.4 KB md download
data/ 1 file 86.1 MB
train-00000-of-00001.parquet 86.1 MB parquet download

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

ORPO-DPO-mix-40k-flat

image/webp

This dataset is designed for ORPO or DPO training.
See Uncensor any LLM with Abliteration for more information about how to use it.
This is version with raw text instead of lists of dicts as in the original version here.
It makes easier to parse in Axolotl, especially for DPO.

ORPO-DPO-mix-40k-flat is a combination of the following high-quality DPO datasets:

Rule-based filtering was applied to remove gptisms in the chosen answers (2,206 samples).

Thanks to argilla, unalignment, M4-ai, and jondurbin for providing the source datasets.

🔎 Usage

Here's an example on how to use it as a DPO dataset in Axolotl with ChatML:

rl: dpo
chat_template: chatml
datasets:
  - path: mlabonne/orpo-dpo-mix-40k
    type: chatml.intel

For ORPO, I recommend using mlabonne/orpo-dpo-mix-40k instead.

Toxicity

Note that ORPO-DPO-mix-40k-flat contains a dataset (toxic-dpo-v0.2) designed to prompt the model to answer illegal questions. You can remove it as follows:

dataset = load_dataset('mlabonne/orpo-mix-40k-flat', split='train')
dataset = dataset.filter(
    lambda r: r["source"] != "toxic-dpo-v0.2"
)

README historyEdit history 3 revisions3 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-06-07 Update README.md fbf33b6 3.3 KB
    Loading...
  2. 2024-06-07 Upload dataset 9e0f2a7 461 B
    Loading...
  3. 2024-06-07 initial commit 4e60408 0 B
    Loading...

Community discussions 2 threads · 2 open · 3 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-07-25 Citation format? open 2 💬 #2
    Loading...
  2. 2024-06-08 [bot] Conversion to Parquet open 1 💬 #1
    Loading...
Download from Hugging Face

mlabonne/orpo-dpo-mix-40k-flat

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